Remix
Remix
remix/lazy-file · FunctionView Source

getByteLength

Summary

Returns the length of the byte range in a buffer of the given size.

Signature

function getByteLength(range: ByteRange, size: number): number;

Parameters

range

The byte range

size

The total size of the buffer

Returns

The length of the byte range