public static void WriteStreamHeader(this Stream stream, StreamHeader header)
 {
     StreamStorageBinarySerializer.SerializeStreamHeader(stream, header);
 }
 public static StreamHeader ReadStreamHeader(this Stream stream)
 {
     return(StreamStorageBinarySerializer.DeserializeStreamHeader(stream));
 }
 public static RecordHeader ReadRecordHeader(this Stream stream)
 {
     return(StreamStorageBinarySerializer.DeserializeRecordHeader(stream));
 }