C# Class FieldTrip.Buffer.ByteBuffer

Mostra file Open project: jadref/buffer_bci Class Usage Examples

Protected Properties

Property Type Description
reader EndianBinaryReader
stream System.IO.MemoryStream
writer EndianBinaryWriter

Public Methods

Method Description
ByteBuffer ( ) : System.Collections
ByteBuffer ( Endianness _endianess, System _encoding ) : System.Collections
ByteBuffer ( Endianness _endianess, System _encoding, int capacity, int position, MemoryStream _stream ) : System.Collections
ByteBuffer ( int capacity ) : System.Collections
ByteBuffer ( int capacity, int position, MemoryStream _stream ) : System.Collections
allocate ( int capacity ) : ByteBuffer
asDoubleBuffer ( ) : DoubleBuffer
asFloatBuffer ( ) : FloatBuffer
asIntBuffer ( ) : IntBuffer
asLongBuffer ( ) : LongBuffer
asShortBuffer ( ) : ShortBuffer
capacity ( ) : int
clear ( ) : ByteBuffer
encoding ( ) : System.Text.Encoding
get ( byte &bytes ) : ByteBuffer
get ( ) : byte
getDouble ( ) : double
getFloat ( ) : float
getInt ( ) : int
getLong ( ) : long
getShort ( ) : short
length ( ) : int
order ( ByteOrder _byteorder ) : ByteBuffer
order ( ) : ByteOrder
position ( ) : long
position ( long newposition ) : void
put ( byte src ) : ByteBuffer
put ( byte src, int offset, int length ) : ByteBuffer
putByte ( byte src ) : ByteBuffer
putDouble ( double src ) : ByteBuffer
putFloat ( float src ) : ByteBuffer
putInt ( int src ) : ByteBuffer
putLong ( long src ) : ByteBuffer
putShort ( short src ) : ByteBuffer
putString ( string src ) : ByteBuffer
remaining ( ) : long
rewind ( ) : ByteBuffer
slice ( ) : ByteBuffer

Method Details

ByteBuffer() public method

public ByteBuffer ( ) : System.Collections
return System.Collections

ByteBuffer() public method

public ByteBuffer ( Endianness _endianess, System _encoding ) : System.Collections
_endianess Endianness
_encoding System
return System.Collections

ByteBuffer() public method

public ByteBuffer ( Endianness _endianess, System _encoding, int capacity, int position, MemoryStream _stream ) : System.Collections
_endianess Endianness
_encoding System
capacity int
position int
_stream System.IO.MemoryStream
return System.Collections

ByteBuffer() public method

public ByteBuffer ( int capacity ) : System.Collections
capacity int
return System.Collections

ByteBuffer() public method

public ByteBuffer ( int capacity, int position, MemoryStream _stream ) : System.Collections
capacity int
position int
_stream System.IO.MemoryStream
return System.Collections

allocate() public static method

public static allocate ( int capacity ) : ByteBuffer
capacity int
return ByteBuffer

asDoubleBuffer() public method

public asDoubleBuffer ( ) : DoubleBuffer
return DoubleBuffer

asFloatBuffer() public method

public asFloatBuffer ( ) : FloatBuffer
return FloatBuffer

asIntBuffer() public method

public asIntBuffer ( ) : IntBuffer
return IntBuffer

asLongBuffer() public method

public asLongBuffer ( ) : LongBuffer
return LongBuffer

asShortBuffer() public method

public asShortBuffer ( ) : ShortBuffer
return ShortBuffer

capacity() public method

public capacity ( ) : int
return int

clear() public method

public clear ( ) : ByteBuffer
return ByteBuffer

encoding() public method

public encoding ( ) : System.Text.Encoding
return System.Text.Encoding

get() public method

public get ( byte &bytes ) : ByteBuffer
bytes byte
return ByteBuffer

get() public method

public get ( ) : byte
return byte

getDouble() public method

public getDouble ( ) : double
return double

getFloat() public method

public getFloat ( ) : float
return float

getInt() public method

public getInt ( ) : int
return int

getLong() public method

public getLong ( ) : long
return long

getShort() public method

public getShort ( ) : short
return short

length() public method

public length ( ) : int
return int

order() public method

public order ( ByteOrder _byteorder ) : ByteBuffer
_byteorder ByteOrder
return ByteBuffer

order() public method

public order ( ) : ByteOrder
return ByteOrder

position() public method

public position ( ) : long
return long

position() public method

public position ( long newposition ) : void
newposition long
return void

put() public method

public put ( byte src ) : ByteBuffer
src byte
return ByteBuffer

put() public method

public put ( byte src, int offset, int length ) : ByteBuffer
src byte
offset int
length int
return ByteBuffer

putByte() public method

public putByte ( byte src ) : ByteBuffer
src byte
return ByteBuffer

putDouble() public method

public putDouble ( double src ) : ByteBuffer
src double
return ByteBuffer

putFloat() public method

public putFloat ( float src ) : ByteBuffer
src float
return ByteBuffer

putInt() public method

public putInt ( int src ) : ByteBuffer
src int
return ByteBuffer

putLong() public method

public putLong ( long src ) : ByteBuffer
src long
return ByteBuffer

putShort() public method

public putShort ( short src ) : ByteBuffer
src short
return ByteBuffer

putString() public method

public putString ( string src ) : ByteBuffer
src string
return ByteBuffer

remaining() public method

public remaining ( ) : long
return long

rewind() public method

public rewind ( ) : ByteBuffer
return ByteBuffer

slice() public method

public slice ( ) : ByteBuffer
return ByteBuffer

Property Details

reader protected_oe property

protected EndianBinaryReader reader
return EndianBinaryReader

stream protected_oe property

protected MemoryStream,System.IO stream
return System.IO.MemoryStream

writer protected_oe property

protected EndianBinaryWriter writer
return EndianBinaryWriter