Method | Description | |
---|---|---|
ReadBytes ( System.Stream stream ) : byte[] |
Reads a length delimited byte array
|
|
ReadString ( System.Stream stream ) : string | ||
SkipBytes ( System.Stream stream ) : void |
Skip the next varint length prefixed bytes. Alternative to ReadBytes when the data is not of interest.
|
|
WriteBytes ( System.Stream stream, byte val ) : void |
Writes length delimited byte array
|
|
WriteString ( System.Stream stream, string val ) : void |
public static ReadBytes ( System.Stream stream ) : byte[] | ||
stream | System.Stream | |
return | byte[] |
public static ReadString ( System.Stream stream ) : string | ||
stream | System.Stream | |
return | string |
public static SkipBytes ( System.Stream stream ) : void | ||
stream | System.Stream | |
return | void |
public static WriteBytes ( System.Stream stream, byte val ) : void | ||
stream | System.Stream | |
val | byte | |
return | void |
public static WriteString ( System.Stream stream, string val ) : void | ||
stream | System.Stream | |
val | string | |
return | void |