C# Класс ThemeEditor.Common.Compression.IOUtils

Показать файл Открыть проект

Открытые методы

Метод Описание
FromNDSu32 ( uint value ) : byte[]

Converts a u32 value into a sequence of bytes that would make ToNDSu32 return the given input value.

ToNDSs32 ( byte buffer, int offset ) : int

Returns a 4-byte signed integer as used on the NDS converted from four bytes at a specified position in a byte array.

ToNDSu24 ( byte buffer, int offset ) : int

Returns a 3-byte integer as used in the built-in compression formats in the DS, converted from three bytes at a specified position in a byte array,

ToNDSu32 ( byte buffer, int offset ) : uint

Returns a 4-byte unsigned integer as used on the NDS converted from four bytes at a specified position in a byte array.

Описание методов

FromNDSu32() публичный статический Метод

Converts a u32 value into a sequence of bytes that would make ToNDSu32 return the given input value.
public static FromNDSu32 ( uint value ) : byte[]
value uint
Результат byte[]

ToNDSs32() публичный статический Метод

Returns a 4-byte signed integer as used on the NDS converted from four bytes at a specified position in a byte array.
public static ToNDSs32 ( byte buffer, int offset ) : int
buffer byte The source of the data.
offset int The location of the data in the source.
Результат int

ToNDSu24() публичный статический Метод

Returns a 3-byte integer as used in the built-in compression formats in the DS, converted from three bytes at a specified position in a byte array,
public static ToNDSu24 ( byte buffer, int offset ) : int
buffer byte The source of the data.
offset int The location of the data in the source.
Результат int

ToNDSu32() публичный статический Метод

Returns a 4-byte unsigned integer as used on the NDS converted from four bytes at a specified position in a byte array.
public static ToNDSu32 ( byte buffer, int offset ) : uint
buffer byte The source of the data.
offset int The location of the data in the source.
Результат uint