C# Class NonByteAlignedBinaryRW.NonByteAlignedBinaryWriter

Inheritance: System.IO.BinaryWriter
显示文件 Open project: leftos/nba-2k13-roster-editor

Public Methods

Method Description
BitStringToByte ( string s ) : byte
BitStringToByteArray ( string s ) : byte[]
MoveStreamPosition ( int bytes, int bits ) : void
NonByteAlignedBinaryWriter ( Stream stream ) : System
NonByteAlignedBinaryWriter ( Stream stream, Encoding encoding ) : System
WriteNonByteAlignedBits ( string s, IEnumerable originalBytes ) : void
WriteNonByteAlignedByte ( byte b, byte originalBytes = null ) : void

Method Details

BitStringToByte() public static method

public static BitStringToByte ( string s ) : byte
s string
return byte

BitStringToByteArray() public static method

public static BitStringToByteArray ( string s ) : byte[]
s string
return byte[]

MoveStreamPosition() public method

public MoveStreamPosition ( int bytes, int bits ) : void
bytes int
bits int
return void

NonByteAlignedBinaryWriter() public method

public NonByteAlignedBinaryWriter ( Stream stream ) : System
stream Stream
return System

NonByteAlignedBinaryWriter() public method

public NonByteAlignedBinaryWriter ( Stream stream, Encoding encoding ) : System
stream Stream
encoding System.Text.Encoding
return System

WriteNonByteAlignedBits() public method

public WriteNonByteAlignedBits ( string s, IEnumerable originalBytes ) : void
s string
originalBytes IEnumerable
return void

WriteNonByteAlignedByte() public method

public WriteNonByteAlignedByte ( byte b, byte originalBytes = null ) : void
b byte
originalBytes byte
return void