C# Class FieldTrip.Buffer.Header

A datastructure containing information about the number of channels, samples, events, etc. in the FieldTrip buffer.
Show file Open project: jadref/buffer_bci

Public Properties

Property Type Description
channelNameSize int
dataType int
fSample float
labels string[]
nChans int
nEvents int
nSamples int

Public Methods

Method Description
Header ( ByteBuffer buf ) : System.Collections
Header ( int nChans, float fSample, int dataType ) : System.Collections
getSerialSize ( ) : int
serialize ( ByteBuffer buf ) : void

Method Details

Header() public method

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

Header() public method

public Header ( int nChans, float fSample, int dataType ) : System.Collections
nChans int
fSample float
dataType int
return System.Collections

getSerialSize() public method

public getSerialSize ( ) : int
return int

serialize() public method

public serialize ( ByteBuffer buf ) : void
buf ByteBuffer
return void

Property Details

channelNameSize public property

public int channelNameSize
return int

dataType public property

public int dataType
return int

fSample public property

public float fSample
return float

labels public property

public string[] labels
return string[]

nChans public property

public int nChans
return int

nEvents public property

public int nEvents
return int

nSamples public property

public int nSamples
return int