-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NativeListStream.cs
40 lines (33 loc) · 1.39 KB
/
NativeListStream.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
namespace Gilzoide.NativeCollectionsStream
{
public class NativeListStream : NativeCollectionStream<NativeList<byte>>
{
public NativeListStream(NativeList<byte> list) : base(list) {}
}
public class UnsafeListStream : NativeCollectionReadOnlyStream<UnsafeList<byte>>
{
public UnsafeListStream(UnsafeList<byte> list) : base(list) {}
}
public class FixedList32BytesStream : NativeCollectionReadOnlyStream<FixedList32Bytes<byte>>
{
public FixedList32BytesStream(FixedList32Bytes<byte> list) : base(list) {}
}
public class FixedList64BytesStream : NativeCollectionReadOnlyStream<FixedList64Bytes<byte>>
{
public FixedList64BytesStream(FixedList64Bytes<byte> list) : base(list) {}
}
public class FixedList128BytesStream : NativeCollectionReadOnlyStream<FixedList128Bytes<byte>>
{
public FixedList128BytesStream(FixedList128Bytes<byte> list) : base(list) {}
}
public class FixedList512BytesStream : NativeCollectionReadOnlyStream<FixedList512Bytes<byte>>
{
public FixedList512BytesStream(FixedList512Bytes<byte> list) : base(list) {}
}
public class FixedList4096BytesStream : NativeCollectionReadOnlyStream<FixedList4096Bytes<byte>>
{
public FixedList4096BytesStream(FixedList4096Bytes<byte> list) : base(list) {}
}
}