Method | Description | |
---|---|---|
Append ( byte @byte ) : void |
Appends the byte to the end of the stream
|
|
DynamicStream ( ) : System.Collections.Generic |
Creates an empty DynamicStream
|
|
DynamicStream ( int length ) : System.Collections.Generic |
Creates a stream with the provided length with all 0 bytes
|
|
DynamicStream ( int length, byte @default ) : System.Collections.Generic |
Creates a stream with the provided length defaulting to the byte specified
|
|
InsertAt ( int index, byte bytes ) : void |
Inserts a new byte at the specified index
|
|
Read ( int start, int length ) : byte[] |
Reads the bytes within the specified area
|
|
ToArray ( ) : byte[] |
Returns all of the bytes for the stream as an array
|
|
WriteAt ( int index, byte @byte ) : void |
Overwrites the byte at the specified index
|
Method | Description | |
---|---|---|
_Reset ( ) : void |
public DynamicStream ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public DynamicStream ( int length ) : System.Collections.Generic | ||
length | int | |
return | System.Collections.Generic |
public DynamicStream ( int length, byte @default ) : System.Collections.Generic | ||
length | int | |
@default | byte | |
return | System.Collections.Generic |
public InsertAt ( int index, byte bytes ) : void | ||
index | int | |
bytes | byte | |
return | void |
public Read ( int start, int length ) : byte[] | ||
start | int | |
length | int | |
return | byte[] |
public WriteAt ( int index, byte @byte ) : void | ||
index | int | |
@byte | byte | |
return | void |