immutable class OCTET < $BIT_PATTERN{OCTET}


Ancestors
$BIT_PATTERN{_} $HASH $IS_EQ $IMMUTABLE
$STR $BINARY $BIT_PATTERNS



Public


Constants
const Octet_Bits : CARD := asize ;
const Octet_Max : CARD := 255 ;
**** It IS eight bits only!
const asize : CARD := 8 ;
const maxnum : CARD := Octet_Max ;

Features
aget( .. Included as aget
alter( .. Included as alter
aset( .. Included as aset
binstr : BINSTR .. Included as binstr
bit( .. Included as bit
bit_and( .. Included as bit_and
bit_invert : SAME .. Included as bit_invert
bit_or( .. Included as bit_or
bit_xor( .. Included as bit_xor
bool : BOOL .. Included as bool
build( .. Included as build
card : CARD .. Included as card
char : CHAR .. Included as char
clear( .. Included as clear
create( .. Included as create
create( .. Included as create
create( .. Included as create
create : SAME
hash : CARD .. Included as hash
hex_str( .. Included as hex_str
hex_str : STR .. Included as hex_str
hextet : HEXTET .. Included as hextet
highest( .. Included as highest
highest : CARD .. Included as highest
int : INT .. Included as int
is_eq( .. Included as is_eq
is_eq(other : $OB) : BOOL .. Included as is_eq
**** This is the generic equality predicate. c.f. the class $IS_EQ
left( .. Included as left
lowest( .. Included as lowest
lowest : CARD .. Included as lowest
null : SAME .. Included as null
octet : SAME .. Included as octet
quad : QUADBITS .. Included as quad
read(index : BIN_CURSOR) : SAME .. Included as read
right( .. Included as right
set( .. Included as set
slice( .. Included as slice
slice( .. Included as slice
str( .. Included as str
str : STR .. Included as str
write(fyle : BIN_FILE) .. Included as write

Iters
aelt!( .. Included as aelt!
aelt!( .. Included as aelt!
aelt!( .. Included as aelt!
aelt! : T .. Included as aelt!
aind! : CARD .. Included as aind!


Private

const Masks : ARRAY{SAME} := | create(1), create(3),
is_legal_aelts_arg( .. Included as is_legal_aelts_arg
shift( .. Included as shift

The Sather Home Page