Stream
, TextReader
and TextWriter
implementations backed by Unity Native Collections.
Stream
implementations:- NativeListStream: stream backed by a
NativeList<byte>
- UnsafeListStream: read-only stream backed by a
UnsafeList<byte>
- FixedList32BytesStream: read-only stream backed by a
FixedList32Bytes<byte>
- FixedList64BytesStream: read-only stream backed by a
FixedList64Bytes<byte>
- FixedList128BytesStream: read-only stream backed by a
FixedList128Bytes<byte>
- FixedList512BytesStream: read-only stream backed by a
FixedList512Bytes<byte>
- FixedList4096BytesStream: read-only stream backed by a
FixedList4096Bytes<byte>
- NativeTextStream: stream backed by a
NativeText
- UnsafeTextStream: read-only stream backed by a
UnsafeText
- FixedString32BytesStream: read-only stream backed by a
FixedString32Bytes
- FixedString64BytesStream: read-only stream backed by a
FixedString64Bytes
- FixedString128BytesStream: read-only stream backed by a
FixedString128Bytes
- FixedString512BytesStream: read-only stream backed by a
FixedString512Bytes
- FixedString4096BytesStream: read-only stream backed by a
FixedString4096Bytes
- NativeListStream: stream backed by a
TextReader
implementations:- NativeTextReader: text reader backed by a
NativeText
- UnsafeTextReader: text reader backed by a
UnsafeText
- FixedString32BytesReader: text reader backed by a
FixedString32Bytes
- FixedString64BytesReader: text reader backed by a
FixedString64Bytes
- FixedString128BytesReader: text reader backed by a
FixedString128Bytes
- FixedString512BytesReader: text reader backed by a
FixedString512Bytes
- FixedString4096BytesReader: text reader backed by a
FixedString4096Bytes
- FixedString4096BytesReader: text reader backed by a
FixedString4096Bytes
- NativeTextReader: text reader backed by a
TextWriter
implementations:- NativeTextWriter: text writer backed by a
NativeText
- NativeTextWriter: text writer backed by a
Either:
- Use the openupm registry and install this package using the openupm-cli:
openupm add com.gilzoide.native-collections-stream
- Install using the Unity Package Manager with the following URL:
https://github.com/gilzoide/unity-native-collections-stream.git#1.0.0-preview1
- Clone this repository or download a snapshot of it directly inside your project's
Assets
orPackages
folder.