FSharpx.Collections


ByteString Type

An ArraySegment with structural comparison and equality.

Constructors

Constructor Description

ByteString(array)

Full Usage: ByteString(array)

Parameters:
    array : byte[]

Returns: ByteString
array : byte[]
Returns: ByteString

ByteString(array, offset, count)

Full Usage: ByteString(array, offset, count)

Parameters:
    array : byte[]
    offset : int
    count : int

Returns: ByteString
array : byte[]
offset : int
count : int
Returns: ByteString

Instance members

Instance member Description

this.Array

Full Usage: this.Array

Returns: byte[]
Returns: byte[]

this.Count

Full Usage: this.Count

Returns: int
Returns: int

this.GetEnumerator()

Full Usage: this.GetEnumerator()

Returns: IEnumerator<byte>

Gets an enumerator for the bytes stored in the byte string.

Returns: IEnumerator<byte>

this.[pos]

Full Usage: this.[pos]

Parameters:
    pos : int

Returns: byte
pos : int
Returns: byte

this.Offset

Full Usage: this.Offset

Returns: int
Returns: int

Static members

Static member Description

ByteString.Compare(a, b)

Full Usage: ByteString.Compare(a, b)

Parameters:
Returns: int

Compares two byte strings based on their structure.

a : ByteString
b : ByteString
Returns: int