C# Class CSharpUtils.Streams.StreamChunker2

Datei anzeigen Open project: soywiz/csharputils

Public Methods

Method Description
Split ( Stream InputStream, byte Separator, Action ChunkHandler ) : void
SplitInChunks ( Stream InputStream, byte Separator ) : List

Protected Methods

Method Description
FindSequence ( byte Array, byte SequenceToFind, int Start, int EndIndex = int.MaxValue ) : int

Method Details

FindSequence() protected static method

protected static FindSequence ( byte Array, byte SequenceToFind, int Start, int EndIndex = int.MaxValue ) : int
Array byte
SequenceToFind byte
Start int
EndIndex int
return int

Split() public static method

public static Split ( Stream InputStream, byte Separator, Action ChunkHandler ) : void
InputStream Stream
Separator byte
ChunkHandler Action
return void

SplitInChunks() public static method

public static SplitInChunks ( Stream InputStream, byte Separator ) : List
InputStream Stream
Separator byte
return List