org.jruby.ext.ffi
Class ArrayMemoryIO.ArrayIO
java.lang.Object
org.jruby.ext.ffi.ArrayMemoryIO.ArrayIO
- Enclosing class:
- ArrayMemoryIO
protected abstract static class ArrayMemoryIO.ArrayIO
- extends java.lang.Object
Method Summary |
abstract long |
getAddress(byte[] buffer,
int offset)
|
float |
getFloat32(byte[] buffer,
int offset)
|
double |
getFloat64(byte[] buffer,
int offset)
|
abstract short |
getInt16(byte[] buffer,
int offset)
|
abstract int |
getInt32(byte[] buffer,
int offset)
|
abstract long |
getInt64(byte[] buffer,
int offset)
|
abstract void |
putAddress(byte[] buffer,
int offset,
long value)
|
void |
putFloat32(byte[] buffer,
int offset,
float value)
|
void |
putFloat64(byte[] buffer,
int offset,
double value)
|
abstract void |
putInt16(byte[] buffer,
int offset,
int value)
|
abstract void |
putInt32(byte[] buffer,
int offset,
int value)
|
abstract void |
putInt64(byte[] buffer,
int offset,
long value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayMemoryIO.ArrayIO
protected ArrayMemoryIO.ArrayIO()
getInt16
public abstract short getInt16(byte[] buffer,
int offset)
getInt32
public abstract int getInt32(byte[] buffer,
int offset)
getInt64
public abstract long getInt64(byte[] buffer,
int offset)
getAddress
public abstract long getAddress(byte[] buffer,
int offset)
putInt16
public abstract void putInt16(byte[] buffer,
int offset,
int value)
putInt32
public abstract void putInt32(byte[] buffer,
int offset,
int value)
putInt64
public abstract void putInt64(byte[] buffer,
int offset,
long value)
putAddress
public abstract void putAddress(byte[] buffer,
int offset,
long value)
getFloat32
public final float getFloat32(byte[] buffer,
int offset)
putFloat32
public final void putFloat32(byte[] buffer,
int offset,
float value)
getFloat64
public final double getFloat64(byte[] buffer,
int offset)
putFloat64
public final void putFloat64(byte[] buffer,
int offset,
double value)
Copyright © 2002-2007 JRuby Team. All Rights Reserved.