Class SmolvDecoder
Inheritance
System.Object
SmolvDecoder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Smolv
Assembly: Smolv.dll
Syntax
public static class SmolvDecoder
Fields
|
Improve this Doc
View Source
Declaration
public const uint SmolHeaderMagic = 1397575500U
Field Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Declaration
public const uint SpirVHeaderMagic = 119734787U
Field Value
Type |
Description |
System.UInt32 |
|
Methods
|
Improve this Doc
View Source
Decode(Stream, Int32, Stream)
Declaration
public static bool Decode(Stream inputStream, int inputSize, Stream outputStream)
Parameters
Type |
Name |
Description |
Stream |
inputStream |
|
System.Int32 |
inputSize |
|
Stream |
outputStream |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Decode(Byte[])
Declaration
public static byte[] Decode(byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
Decode(Byte[], Stream)
Declaration
public static bool Decode(byte[] data, Stream outputStream)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Stream |
outputStream |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Decode(Byte[], Byte[])
Declaration
public static bool Decode(byte[] data, byte[] output)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
System.Byte[] |
output |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetDecodedBufferSize(ReadOnlySpan<Byte>)
Declaration
public static int GetDecodedBufferSize(ReadOnlySpan<byte> data)
Parameters
Type |
Name |
Description |
ReadOnlySpan<System.Byte> |
data |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetDecodedBufferSize(Stream)
Declaration
public static int GetDecodedBufferSize(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Returns
Type |
Description |
System.Int32 |
|