Click or drag to resize

Block Class

Used to reference a block in a BlockArray or BlockStream.
Inheritance Hierarchy
SystemObject
  Neon.CommonBlock

Namespace:  Neon.Common
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.4.1
Syntax
public sealed class Block

The Block type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBuffer
The referenced buffer.
Public propertyItem
Accesses the byte at the specified index in the block.
Public propertyLength
The number of referenced bytes.
Public propertyOffset
The offset of the starting position of the referenced bytes in the buffer.
Top
Methods
  NameDescription
Public methodStatic memberAssemble
Assembles the bytes referenced by the blocks into a contiguous buffer.
Public methodCopyFrom
Copies bytes from the byte array passed into the block.
Public methodCopyTo
Copies bytes from the logical offset in the block to the target byte array.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetRange
Modifies the range of bytes referenced by the instance.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators
See Also