C# Class Test.Helpers.NonSeekableMemoryStream

MemoryStream With Seek() removed. Used to test PositionStream that will add this feature back.
Inheritance: System.IO.MemoryStream
Mostrar archivo Open project: hultqvist/protobuf Class Usage Examples

Public Methods

Method Description
NonSeekableMemoryStream ( byte buffer ) : System
Seek ( long offset, SeekOrigin loc ) : long

Method Details

NonSeekableMemoryStream() public method

public NonSeekableMemoryStream ( byte buffer ) : System
buffer byte
return System

Seek() public method

public Seek ( long offset, SeekOrigin loc ) : long
offset long
loc SeekOrigin
return long