public class RecordHeader extends Object
A class to encapsulate an SCP-ECG record header.
Constructor and Description |
---|
RecordHeader() |
Modifier and Type | Method and Description |
---|---|
int |
getCRC() |
long |
getRecordLength() |
long |
read(BinaryInputStream i)
Read a header from a stream.
|
String |
toString()
Dump the record header as a
String . |
public int getCRC()
public long getRecordLength()
public long read(BinaryInputStream i) throws IOException
Read a header from a stream.
i
- the input streamIOException