The Hyper Programming Language

Class ‘byte’

This is the class reference of built-in type byte.

Class

sealed class byte : object

This class represents an unsigned 8-bit integer.

Constructors

procedure new()

Default constructor. Creates a byte with value 0.

procedure new(b : byte)

Copy constructor.

Procedures

none

Operators

Warning: this is preliminary syntax with the purpose of documenting the operators of this class. Nothing official yet!

Unary Operators

const operator+() : byte

Unary plus.

const operator-() : int16

Unary minus.

const operator++() : byte

Successor.

const operator--() : byte

Predecessor.

Binary Operators

not yet documented

Increment/decrement operators

operator++()

Increment operator.

operator--()

Decrement operator.

Assignment Operators

operator=(b : byte)

Simple assignment operator.

operator+=(b : byte)

Add-assign operator.

operator-=(b : byte)

Subtract-assign operator.

operator*=(b : byte)

Multiply-assign operator.

operator/=(b : byte)

Divide-assign operator.

operator%=(b : byte)

Modulo-assign operator.

See also


Valid HTML 4.01 Strict Valid CSS!