C# Class bsharptree.example.simpleindex.storage.StreamLoadingTools

Show file Open project: thoward/bsharptree

Public Methods

Method Description
DefaultFile ( string directory, string filename ) : string
ReadBytes ( this stream, int length ) : byte[]
ReadDocumentLocations ( this stream ) : IEnumerable
ReadGuid ( this stream ) : System.Guid
ReadInt32 ( this stream ) : Int32
ReadInt64 ( this stream ) : System.Int64
ReadSpan ( this stream ) : Span

Method Details

DefaultFile() public static method

public static DefaultFile ( string directory, string filename ) : string
directory string
filename string
return string

ReadBytes() public static method

public static ReadBytes ( this stream, int length ) : byte[]
stream this
length int
return byte[]

ReadDocumentLocations() public static method

public static ReadDocumentLocations ( this stream ) : IEnumerable
stream this
return IEnumerable

ReadGuid() public static method

public static ReadGuid ( this stream ) : System.Guid
stream this
return System.Guid

ReadInt32() public static method

public static ReadInt32 ( this stream ) : Int32
stream this
return System.Int32

ReadInt64() public static method

public static ReadInt64 ( this stream ) : System.Int64
stream this
return System.Int64

ReadSpan() public static method

public static ReadSpan ( this stream ) : Span
stream this
return bsharptree.example.simpleindex.analysis.Span