ByteSpec

Quick Links

Overview

This topic provides general information on the implementation of the lisp byte. It will provide the methods needed for byte manipulation.

References

Hyperspec CLtL
Glossary#ByteSpecifier .

Implementation

Core Java Interfaces

Interface Location
ByteSpec lisp.common.type.ByteSpec

Other Java Interfaces

Interface Location
Integer lisp.common.type.Integer
BigInteger java.math.BigInteger

ByteSpec (lisp.common.type.ByteSpec)

A byte specifier is an object that stores which bits of an array of bits the given byte manipulation will be applied to. Contains the factory method needed to create ByteSpec objects. The newInstance method has the following signatures: newInstance(java.common.type.Integer size, java.common.type.Integer position).

Method - Interface ByteSpec (lisp.common.type.ByteSpec)
Lisp Java Status
byte-size Integer getByteSize (ByteSpecifier); completed
byte-position Integer getBytePosition (ByteSpecifier); completed

ByteSpecImpl (lisp.system.ByteSpecImpl)

Implemented Methods For Byte Manipulation:

Lisp Java Location Status
byte ByteSpecifier Byte (Integer, Integer); lisp.common.functions.Byte completed
byte-size Integer ByteSize (ByteSpecifier); lisp.common.functions.ByteSize completed
byte-position Integer BytePosition (ByteSpecifier); lisp.common.functions.BytePosition completed
ldb Byte loadByte (ByteSpecifier, Integer); lisp.common.functions.ldb completed
ldb-test Boole loadByteT (ByteSpecifier, Integer); lisp.common.functions.LdbTest completed
mask-field Byte maskField (ByteSpecifier, Integer);   not completed
dpb Integer depositByte (Integer, ByteSpecifier, Integer); lisp.common.functions.Dpb completed
deposit-field Integer depositField (Integer, ByteSpecifier, Integer); lisp.common.functions.DepositField completed

Discussions

Current Status of ByteSpec

8/30/07 updated specs

3/2/07 updated specs

2/26/07 updated specs

2/21/07 updated method signatures, began writing code

2/20/07 updated specs

Test Suites

ByteTests

Topic revision: r8 - 2009-02-11 - 16:37:50 - MeganLusher
 
Home
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback