asArray
asArray(
buffer):Readonly<Uint8Array>
Defined in: .work/repos/olmdb/src/olmdb.ts:459
Converts an ArrayBuffer to a Uint8Array. Helper function for use with scan() keyConvert and valueConvert options.
Parameters
Section titled “Parameters”buffer
Section titled “buffer”Readonly<ArrayBuffer>
The ArrayBuffer to convert.
Returns
Section titled “Returns”Readonly<Uint8Array>
A new Uint8Array view of the buffer.