public BinaryMemoryWriter() : base( new MemoryStream( 512 ), true ) { this.stream = this.UnderlyingStream as MemoryStream; }