Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gilzoide/unity-native-collections-stream
Stream, TextReader and TextWriter implementations backed by Unity Native Collections
https://github.com/gilzoide/unity-native-collections-stream
collections stream streaming textreader textwriter unity unity2d unity3d upm upm-package
Last synced: 17 days ago
JSON representation
Stream, TextReader and TextWriter implementations backed by Unity Native Collections
- Host: GitHub
- URL: https://github.com/gilzoide/unity-native-collections-stream
- Owner: gilzoide
- License: unlicense
- Created: 2024-03-29T15:11:38.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-30T14:41:59.000Z (8 months ago)
- Last Synced: 2024-10-10T10:40:56.226Z (about 1 month ago)
- Topics: collections, stream, streaming, textreader, textwriter, unity, unity2d, unity3d, upm, upm-package
- Language: C#
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Native Collections Stream
[![openupm](https://img.shields.io/npm/v/com.gilzoide.native-collections-stream?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/com.gilzoide.native-collections-stream/)`Stream`, `TextReader` and `TextWriter` implementations backed by Unity Native Collections.
## Feature
- `Stream` implementations:
+ [NativeListStream](Runtime/NativeListStream.cs): stream backed by a `NativeList`
+ [UnsafeListStream](Runtime/NativeListStream.cs): read-only stream backed by a `UnsafeList`
+ [FixedList32BytesStream](Runtime/NativeListStream.cs): read-only stream backed by a `FixedList32Bytes`
+ [FixedList64BytesStream](Runtime/NativeListStream.cs): read-only stream backed by a `FixedList64Bytes`
+ [FixedList128BytesStream](Runtime/NativeListStream.cs): read-only stream backed by a `FixedList128Bytes`
+ [FixedList512BytesStream](Runtime/NativeListStream.cs): read-only stream backed by a `FixedList512Bytes`
+ [FixedList4096BytesStream](Runtime/NativeListStream.cs): read-only stream backed by a `FixedList4096Bytes`
+ [NativeTextStream](Runtime/NativeTextStream.cs): stream backed by a `NativeText`
+ [UnsafeTextStream](Runtime/NativeTextStream.cs): read-only stream backed by a `UnsafeText`
+ [FixedString32BytesStream](Runtime/NativeTextStream.cs): read-only stream backed by a `FixedString32Bytes`
+ [FixedString64BytesStream](Runtime/NativeTextStream.cs): read-only stream backed by a `FixedString64Bytes`
+ [FixedString128BytesStream](Runtime/NativeTextStream.cs): read-only stream backed by a `FixedString128Bytes`
+ [FixedString512BytesStream](Runtime/NativeTextStream.cs): read-only stream backed by a `FixedString512Bytes`
+ [FixedString4096BytesStream](Runtime/NativeTextStream.cs): read-only stream backed by a `FixedString4096Bytes`
- `TextReader` implementations:
+ [NativeTextReader](Runtime/NativeTextReader.cs): text reader backed by a `NativeText`
+ [UnsafeTextReader](Runtime/NativeTextReader.cs): text reader backed by a `UnsafeText`
+ [FixedString32BytesReader](Runtime/NativeTextReader.cs): text reader backed by a `FixedString32Bytes`
+ [FixedString64BytesReader](Runtime/NativeTextReader.cs): text reader backed by a `FixedString64Bytes`
+ [FixedString128BytesReader](Runtime/NativeTextReader.cs): text reader backed by a `FixedString128Bytes`
+ [FixedString512BytesReader](Runtime/NativeTextReader.cs): text reader backed by a `FixedString512Bytes`
+ [FixedString4096BytesReader](Runtime/NativeTextReader.cs): text reader backed by a `FixedString4096Bytes`
+ [FixedString4096BytesReader](Runtime/NativeTextReader.cs): text reader backed by a `FixedString4096Bytes`
- `TextWriter` implementations:
+ [NativeTextWriter](Runtime/NativeTextWriter.cs): text writer backed by a `NativeText`## How to install
Either:
- Use the [openupm registry](https://openupm.com/) and install this package using the [openupm-cli](https://github.com/openupm/openupm-cli):
```
openupm add com.gilzoide.native-collections-stream
```
- Install using the [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui-giturl.html) 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` or `Packages` folder.