Class RecordHeader


  • public class RecordHeader
    extends java.lang.Object

    A class to encapsulate an SCP-ECG record header.

    • Constructor Detail

      • RecordHeader

        public RecordHeader()
    • Method Detail

      • getCRC

        public int getCRC()
      • getRecordLength

        public long getRecordLength()
      • read

        public long read​(BinaryInputStream i)
                  throws java.io.IOException

        Read a header from a stream.

        Parameters:
        i - the input stream
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()

        Dump the record header as a String.

        Overrides:
        toString in class java.lang.Object
        Returns:
        the header as a String