bytes property

ByteData get bytes

The filled bytes; hand straight to a texture/buffer upload (which copies). sublistView bounds are element indices, not bytes.

Implementation

ByteData get bytes => ByteData.sublistView(_data, 0, length);