| VB Extension Tools HTML project report | |
| Project: CodeHelperCollection | Module: CBytesByte |
| Module Type  | Class module  |
|---|---|
| File  | C:\Code\EE-projects\units\vb\standard\src\BytesByte.cls  |
| Author  | Ralf Kunsmann  |
| Date  | 2003 02 26  |
| Purpose  |
This is an implementation of IBytes interface for handling integers as byte array.  |
| Hint  |
It seems to be a little bit weired to handle a single byte in this way. The reason is, that we want to be able to handle the single byte in the same way a an Integer or Long.  |
| Requierements  |
'CopyMemory' Win API (Currently defined by 'win.tlb'. If win.tlb is not present in project, there has to by a regarding 'Declare' statement added to this modul or the project).  |
| CIBytes (mBytes) |
| Class_Initialize | |
| CurrentVal | |
| IBytes_CurrentVal | |
| IBytes_BitVal | |
| IBytes_ByteVal | |
| IBytes_NibbleHigh | |
| IBytes_NibbleLow | |
| IBytes_GetBytes | |
| IBytes_Size | |
| IBytes_PushToArray | |
| IBytes_PullFromArray | |
| DebugBytes |
| Procedure 'Class_Initialize' | List of procedures |
| Scope/Type  | Private Sub  |
|---|
| Procedure 'CurrentVal' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code return value  | Byte  |
| Procedure 'IBytes_CurrentVal' | List of procedures |
| Scope/Type  | Private Property (Let/Get)  |
|---|---|
| Code return value  | Variant  |
| Procedure 'IBytes_BitVal' | List of procedures |
| Scope/Type  | Private Property (Let/Get)  |
|---|---|
| Code parameters  |
piByte As Long piBit As Long RHS As Boolean  |
| Procedure 'IBytes_ByteVal' | List of procedures |
| Scope/Type  | Private Property (Let/Get)  |
|---|---|
| Code parameters  |
piByte As Long RHS As Byte  |
| Procedure 'IBytes_NibbleHigh' | List of procedures |
| Scope/Type  | Private Property (Let/Get)  |
|---|---|
| Code parameters  |
piByte As Long RHS As Byte  |
| Procedure 'IBytes_NibbleLow' | List of procedures |
| Scope/Type  | Private Property (Let/Get)  |
|---|---|
| Code parameters  |
piByte As Long RHS As Byte  |
| Procedure 'IBytes_GetBytes' | List of procedures |
| Scope/Type  | Private Sub  |
|---|---|
| Code parameters  | pbBytes  |
| Code return value  | Byte)  |
| Procedure 'IBytes_Size' | List of procedures |
| Scope/Type  | Private Property (Get)  |
|---|---|
| Code return value  | Long  |
| Procedure 'IBytes_PushToArray' | List of procedures |
| Scope/Type  | Private Function  |
|---|---|
| Code parameters  | pbBytes  |
| Code return value  | Byte, piPos As Long  |
| Procedure 'IBytes_PullFromArray' | List of procedures |
| Scope/Type  | Private Function  |
|---|---|
| Code parameters  | pbBytes  |
| Code return value  | Byte, piPos As Long  |
| Procedure 'DebugBytes' | List of procedures |
| Scope/Type  | Public Property (Get)  |
|---|---|
| Code return value  | CIBytes  |