intarsys nativeC library

de.intarsys.nativec.type
Class NativeByteType

java.lang.Object
  extended by de.intarsys.nativec.type.NativeType
      extended by de.intarsys.nativec.type.NativeSimpleType
          extended by de.intarsys.nativec.type.NativeNumberType
              extended by de.intarsys.nativec.type.NativeByteType
All Implemented Interfaces:
INativeType

public class NativeByteType
extends NativeNumberType

The meta class implementation


Method Summary
 INativeObject createNative(INativeHandle handle)
          Create a new INativeObject from a INativeHandle.
 INativeObject createNative(Object value)
          Create an INativeObject for this type from the Java object.
 int getByteCount()
          The size of the type in c memory.
 
Methods inherited from class de.intarsys.nativec.type.NativeType
Array, getPreferredBoundary, lookup, Ref, register
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createNative

public INativeObject createNative(INativeHandle handle)
Description copied from interface: INativeType
Create a new INativeObject from a INativeHandle.

Specified by:
createNative in interface INativeType
Overrides:
createNative in class NativeType
Parameters:
handle - The handle to memory.
Returns:
The new INativeObject

createNative

public INativeObject createNative(Object value)
Description copied from interface: INativeType
Create an INativeObject for this type from the Java object.

Specified by:
createNative in interface INativeType
Overrides:
createNative in class NativeType
Returns:
The new INativeObject

getByteCount

public int getByteCount()
Description copied from interface: INativeType
The size of the type in c memory.

Specified by:
getByteCount in interface INativeType
Overrides:
getByteCount in class NativeType
Returns:
The size of the type in c memory.

intarsys nativeC library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.