Prajna


StreamBase<'T>

Record Fields

Record FieldDescription
debugInfo
Signature: string
Modifiers: mutable
Id
Signature: int64
Modifiers: mutable
info
Signature: string
Modifiers: mutable
RefCount
Signature: int64 ref
Modifiers: mutable
ValBuf
Signature: byte []
Modifiers: mutable
Visible
Signature: bool
Modifiers: mutable
Writable
Signature: bool
Modifiers: mutable

Constructors

ConstructorDescription
new(...)
Signature: (buffer:byte [] * index:int * count:int * writable:bool * publiclyVisible:bool) -> StreamBase<'T>
new(buffer, index, count, writable)
Signature: (buffer:byte [] * index:int * count:int * writable:bool) -> StreamBase<'T>
new(buf, index, count)
Signature: (buf:byte [] * index:int * count:int) -> StreamBase<'T>
new(buf, writable)
Signature: (buf:byte [] * writable:bool) -> StreamBase<'T>
new(buf)
Signature: (buf:byte []) -> StreamBase<'T>
new(size)
Signature: size:int -> StreamBase<'T>
new()
Signature: unit -> StreamBase<'T>

Instance members

Instance memberDescription
Append(arg1)
Signature: StreamBase<'TS> -> unit
Modifiers: abstract
Append(arg1, arg2)
Signature: (StreamBase<'TS> * int64) -> unit
Modifiers: abstract
Append(arg1, arg2, arg3)
Signature: (StreamBase<'TS> * int64 * int64) -> unit
Modifiers: abstract
AppendNoCopy(arg1, arg2, arg3)
Signature: (RBufPart<'T> * int64 * int64) -> unit
Modifiers: abstract
AppendNoCopy(arg1, arg2, arg3)
Signature: (StreamBase<'T> * int64 * int64) -> unit
Modifiers: abstract
ComputeChecksum(offset, len)
Signature: (offset:int64 * len:int64) -> byte []
ComputeHash(arg1, arg2, arg3)
Signature: (HashAlgorithm * int64 * int64) -> byte []
Modifiers: abstract
ComputeSHA256(offset, len)
Signature: (offset:int64 * len:int64) -> byte []
ComputeSHA512(offset, len)
Signature: (offset:int64 * len:int64) -> byte []
GetBufferPosLength()
Signature: unit -> StreamBase<'T> * int * int

Return the buffer, position, count as a tuple that captures the state of the current MemStream. buffer: bytearray of the underlying bytestream. position: the current position if need to write out the bytestream. count: number of bytes if need to write out the bytestream.

GetMoreBuffer(arg1, arg2)
Signature: (byref<int> * byref<int64>) -> 'T [] * int * int
Modifiers: abstract
GetMoreBufferPart(arg1, arg2)
Signature: (byref<int> * byref<int64>) -> RBufPart<'T>
Modifiers: abstract
GetNew(arg1, arg2, arg3, arg4, arg5)
Signature: ('T [] * int * int * bool * bool) -> StreamBase<'T>
Modifiers: abstract
GetNew(arg1)
Signature: int -> StreamBase<'T>
Modifiers: abstract
GetNew()
Signature: unit -> StreamBase<'T>
Modifiers: abstract
GetTotalBuffer()
Signature: unit -> 'T []
Modifiers: abstract
Info()
Signature: unit -> string
Modifiers: abstract
Info()
Signature: unit -> unit
Modifiers: abstract
InsertBefore(mem2)
Signature: mem2:StreamBase<'T> -> StreamBase<'T>

Insert a second MemStream before the current MemStream, and return the resultant MemStream

ReadIPEndPoint()
Signature: unit -> IPEndPoint

Read IPEndPoint from bytestream, if the bytestream is truncated prematurely, the later IPAddress and port information will be 0.

ReadMemStream()
Signature: unit -> StreamBase<'T>
ReadToStream(arg1, arg2, arg3)
Signature: (Stream * int64 * int64) -> unit
Modifiers: abstract
Replicate(arg1, arg2)
Signature: (int64 * int64) -> StreamBase<'T>
Modifiers: abstract
Replicate()
Signature: unit -> StreamBase<'T>
Modifiers: abstract
WriteFromStream(arg1, arg2)
Signature: (Stream * int64) -> unit
Modifiers: abstract
WriteIPEndPoint(addr)
Signature: addr:IPEndPoint -> unit

Write IPEndPoint to bytestream

WriteMemStream(mem2)
Signature: mem2:StreamBase<'T> -> StreamBase<'T>
Fork me on GitHub