public class RecordHeader
extends java.lang.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.
|
java.lang.String |
toString()
Dump the record header as a
String . |
public int getCRC()
public long getRecordLength()
public long read(BinaryInputStream i) throws java.io.IOException
Read a header from a stream.
i
- the input streamjava.io.IOException
public java.lang.String toString()
Dump the record header as a String
.
toString
in class java.lang.Object
String