C# Class fNbt.NbtBinaryWriter

BinaryWriter wrapper that writes NBT primitives to a stream, while taking care of endianness and string encoding, and counting bytes written.
ファイルを表示 Open project: fragmer/fNbt Class Usage Examples

Public Methods

Method Description
NbtBinaryWriter ( [ input, bool bigEndian ) : System
Write ( NbtTagType value ) : void
Write ( [ value ) : void
Write ( byte value ) : void
Write ( byte data, int offset, int count ) : void
Write ( double value ) : void
Write ( float value ) : void
Write ( int value ) : void
Write ( long value ) : void
Write ( short value ) : void

Method Details

NbtBinaryWriter() public method

public NbtBinaryWriter ( [ input, bool bigEndian ) : System
input [
bigEndian bool
return System

Write() public method

public Write ( NbtTagType value ) : void
value NbtTagType
return void

Write() public method

public Write ( [ value ) : void
value [
return void

Write() public method

public Write ( byte value ) : void
value byte
return void

Write() public method

public Write ( byte data, int offset, int count ) : void
data byte
offset int
count int
return void

Write() public method

public Write ( double value ) : void
value double
return void

Write() public method

public Write ( float value ) : void
value float
return void

Write() public method

public Write ( int value ) : void
value int
return void

Write() public method

public Write ( long value ) : void
value long
return void

Write() public method

public Write ( short value ) : void
value short
return void