Exemple #1
0
 public void WriteLong(long value, int bitCount = 64)
 {
     Write(ZigZag.Zig(value), bitCount);
 }
Exemple #2
0
 public void WriteShort(short value, int bitCount = 16)
 {
     Write(ZigZag.Zig(value), bitCount);
 }
Exemple #3
0
 public void WriteInt32(int value, int bitCount = 32)
 {
     Write(ZigZag.Zig(value), bitCount);
 }
Exemple #4
0
 public void WriteSByte(sbyte value, int bitCount = 8)
 {
     Write(ZigZag.Zig(value), bitCount);
 }
 public BitStreamer WriteLong(long value, int bitCount = 64)
 {
     Write(ZigZag.Zig(value), bitCount);
     return(this);
 }
 public BitStreamer WriteInt32(int value, int bitCount = 32)
 {
     Write(ZigZag.Zig(value), bitCount);
     return(this);
 }
 public BitStreamer WriteShort(short value, int bitCount = 16)
 {
     Write(ZigZag.Zig(value), bitCount);
     return(this);
 }
 public BitStreamer WriteSByte(sbyte value, int bitCount = 8)
 {
     Write(ZigZag.Zig(value), bitCount);
     return(this);
 }