ChunkByteOps
extension ChunkByteOps on Chunk<int>Properties
asUint8List extension no setter
Uint8List get asUint8ListAvailable on Chunk<O>, provided by the ChunkByteOps extension
Implementation
dart
Uint8List get asUint8List {
return switch (this) {
final _ByteVectorChunk bv => bv.asUint8List,
final _Uint8ListChunk ch => ch.asUint8List,
final _BoxedChunk<int> boxed => Uint8List.fromList(boxed._values),
_ => Uint8List.fromList(toDartList()),
};
}toBitVector extension no setter
BitVector get toBitVectorAvailable on Chunk<O>, provided by the ChunkByteOps extension
Implementation
dart
BitVector get toBitVector => toByteVector.bits;toByteVector extension no setter
ByteVector get toByteVectorAvailable on Chunk<O>, provided by the ChunkByteOps extension
Implementation
dart
ByteVector get toByteVector => ByteVector.viewAt(At((i) => this[i]), size);