Esempio n. 1
0
    public BinaryWriter(MemoryStream output, bool unicode) {
      Contract.Requires(output != null);

      this.baseStream = output;
      this.UTF8 = !unicode;
    }
Esempio n. 2
0
    public BinaryWriter(MemoryStream output) {
      Contract.Requires(output != null);

      this.baseStream = output;
    }
Esempio n. 3
0
 public BinaryWriter(MemoryStream output, bool unicode) {
   this.BaseStream = output;
   this.UTF8 = !unicode;
 }
Esempio n. 4
0
 public void WriteTo(MemoryStream stream) {
   stream.Write(this.Buffer, 0, this.Length);
 }
Esempio n. 5
0
 public BinaryWriter(MemoryStream output) {
   this.BaseStream = output;
 }