Tipic Instant Messaging Platform - Programmer's Reference Guide

ByteStack Members

ByteStack overview

Public Static (Shared) Type Conversions

Implicit ByteStack to Byte[] Conversion Convert to byte[] by making a trimmed copy.

Public Instance Constructors

ByteStack Overloaded. Initializes a new instance of the ByteStack class.

Public Instance Properties

Capacity How many bytes can the stack currently hold?
Count How may bytes are currently on the stack?

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Peek Non-destructively read the byte on the top of the stack.
Pop Pop a byte off of the stack.
Push Push a byte onto the stack.
ToString Convert to a string, using the default encoding. This is probably not right, but it's really nice for debugging and testing.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ByteStack Class | bedrock.collections Namespace