ae.sys.dataset

ae.sys.dataset

Members

Aliases

DataVec
alias DataVec = Vec!Data

A vector of Data with deterministic lifetime.

Functions

copyTo
void[] copyTo(R data, void[] buffer)

Copy a Data array's contents to a specified buffer.

joinData
Data joinData(R data)

Join an array of Data to a single Data.

shift
DataVec shift(DataVec data, size_t amount)

Remove and return the specified number of bytes from the given Data array.

Properties

bytes
DataSetBytes bytes [@property getter]

Return a type that's indexable to access individual bytes, and sliceable to get an array of Data over the specified byte range. No actual Data concatenation is done.

bytes
DataSetBytes bytes [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
joinToHeap
void[] joinToHeap [@property getter]

Join an array of Data to a memory block on the managed heap.

Structs

DataSetBytes
struct DataSetBytes

Return a type that's indexable to access individual bytes, and sliceable to get an array of Data over the specified byte range. No actual Data concatenation is done.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>