public void Write(byte value)
 {
     CurrentStream.WriteByte(value);
 }