org.rococoa.cocoa.osservices
Class CDB
java.lang.Object
com.sun.jna.Structure
com.sun.jna.Union
com.ochafik.lang.jnaerator.runtime.Union<CDB,CDB.ByValue,CDB.ByReference>
org.rococoa.cocoa.osservices.CDB
- All Implemented Interfaces:
- StructureType, StructureTypeDependent
- Direct Known Subclasses:
- CDB.ByReference, CDB.ByValue
public class CDB
- extends Union<CDB,CDB.ByValue,CDB.ByReference>
Command Descriptor Block structure
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/SCSI.h:304
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Field Summary |
byte[] |
cdbBytes
the actual CDB to send
C type : UInt8[16] |
Pointer |
cdbPtr
pointer to the CDB, or
C type : BytePtr |
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Union |
byReference, byValue, castToArray, castToArray, castToArray, clone, newArray, read, setDependency, toArray, toArray, toArray, use, use, use, use, write |
Methods inherited from class com.sun.jna.Structure |
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, setAutoRead, setAutoSynch, setAutoWrite, size, toString |
cdbPtr
public Pointer cdbPtr
- pointer to the CDB, or
C type : BytePtr
cdbBytes
public byte[] cdbBytes
- the actual CDB to send
C type : UInt8[16]
CDB
public CDB()
CDB
public CDB(byte[] cdbBytes)
- Parameters:
cdbBytes
- the actual CDB to send
C type : UInt8[16]
CDB
public CDB(Pointer cdbPtr)
- Parameters:
cdbPtr
- pointer to the CDB, or
C type : BytePtr
newArray
public static CDB[] newArray(int arrayLength)
Copyright © 2009. All Rights Reserved.