TypedDataCast extension

sublistView using length instead of end Effectively moving up ByteBuffer layer, to TypedData view segment accounting for this.offsetInBytes

offsets in bytes for simplicity, correspond with ByteBuffer length using type size

on

Methods

asByteData([int offsetInBytes = 0, int? length]) ByteData

Available on TypedData, provided by the TypedDataCast extension

asTypedIntList<T extends TypedDataList<int>>([int offsetInBytes = 0, int? length]) → T

Available on TypedData, provided by the TypedDataCast extension