struct FT_StreamRec {
unsigned char * base;
unsigned long size;
unsigned long pos;
FT_StreamDesc descriptor;
FT_StreamDesc pathname;
FT_Stream_IoFunc read;
FT_Stream_CloseFunc close;
FT_Memory memory;
unsigned char * cursor;
unsigned char * limit;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | FT_Stream.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BASE
The struct member offsets. |
| public static final int | CLOSE
The struct member offsets. |
| public static final int | CURSOR
The struct member offsets. |
| public static final int | DESCRIPTOR
The struct member offsets. |
| public static final int | LIMIT
The struct member offsets. |
| public static final int | MEMORY
The struct member offsets. |
| public static final int | PATHNAME
The struct member offsets. |
| public static final int | POS
The struct member offsets. |
| public static final int | READ
The struct member offsets. |
| public static final int | SIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | FT_Stream(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | |
| public FT_Stream | |
| public static FT_Stream | |
| public static FT_Stream. | calloc(int
the buffer capacity capacity)Returns a new |
| public static FT_Stream | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static FT_Stream. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public FT_Stream_CloseFunc | |
| public FT_Stream | |
| protected FT_Stream | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static FT_Stream | |
| public static FT_Stream | |
| public static FT_Stream. | create(int
the buffer capacity capacity)Returns a new |
| public static FT_Stream. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static FT_Stream | |
| public static FT_Stream. | |
| public FT_StreamDesc | |
| public FT_Stream | |
| public FT_Stream | |
| public static FT_Stream | |
| public static FT_Stream. | malloc(int
the buffer capacity capacity)Returns a new |
| public static FT_Stream | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static FT_Stream. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ByteBuffer | |
| public static void | |
| public static FT_Stream_CloseFunc | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static FT_StreamDesc | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static FT_Memory | |
| public static void | |
| public static FT_StreamDesc | |
| public static void | |
| public static long | |
| public static void | |
| public static FT_Stream_IoFunc | |
| public static void | |
| public static long | |
| public static void | |
| public FT_StreamDesc | |
| public FT_Stream | |
| public FT_Stream | |
| public long | |
| public FT_Stream | |
| public FT_Stream_IoFunc | |
| public FT_Stream | |
| public FT_Stream | set(ByteBuffer base, long size, long pos, FT_StreamDesc descriptor, FT_StreamDesc pathname, FT_Stream_IoFuncI read, FT_Stream_CloseFuncI close$)
Initializes this struct with the specified values. |
| public FT_Stream | |
| public long | |
| public FT_Stream | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BASE | back to summary |
|---|---|
| public static final int BASE The struct member offsets. | |
| CLOSE | back to summary |
|---|---|
| public static final int CLOSE The struct member offsets. | |
| CURSOR | back to summary |
|---|---|
| public static final int CURSOR The struct member offsets. | |
| DESCRIPTOR | back to summary |
|---|---|
| public static final int DESCRIPTOR The struct member offsets. | |
| LIMIT | back to summary |
|---|---|
| public static final int LIMIT The struct member offsets. | |
| MEMORY | back to summary |
|---|---|
| public static final int MEMORY The struct member offsets. | |
| PATHNAME | back to summary |
|---|---|
| public static final int PATHNAME The struct member offsets. | |
| POS | back to summary |
|---|---|
| public static final int POS The struct member offsets. | |
| READ | back to summary |
|---|---|
| public static final int READ The struct member offsets. | |
| SIZE | back to summary |
|---|---|
| public static final int SIZE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| FT_Stream | back to summary |
|---|---|
| protected FT_Stream(long address, ByteBuffer container) | |
| FT_Stream | back to summary |
|---|---|
| public FT_Stream(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| base | back to summary |
|---|---|
public ByteBuffer base()
| |
| base | back to summary |
|---|---|
| public FT_Stream base(ByteBuffer value) Sets the address of the specified | |
| calloc | back to summary |
|---|---|
| public static FT_Stream calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static FT_Stream. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static FT_Stream calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static FT_Stream. Returns a new
| |
| close$ | back to summary |
|---|---|
public FT_Stream_CloseFunc close$()
| |
| close$ | back to summary |
|---|---|
| public FT_Stream close$(FT_Stream_CloseFuncI value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected FT_Stream create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static FT_Stream create() Returns a new | |
| create | back to summary |
|---|---|
| public static FT_Stream create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static FT_Stream. Returns a new
| |
| create | back to summary |
|---|---|
| public static FT_Stream. Create a
| |
| createSafe | back to summary |
|---|---|
| public static FT_Stream createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static FT_Stream. Like
| |
| descriptor | back to summary |
|---|---|
public FT_StreamDesc descriptor()
| |
| descriptor | back to summary |
|---|---|
| public FT_Stream descriptor(FT_StreamDesc value) Copies the specified | |
| descriptor | back to summary |
|---|---|
| public FT_Stream descriptor(Consumer<FT_StreamDesc> consumer) Passes the | |
| malloc | back to summary |
|---|---|
| public static FT_Stream malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static FT_Stream. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static FT_Stream malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static FT_Stream. Returns a new
| |
| nbase | back to summary |
|---|---|
| public static ByteBuffer nbase(long struct) Unsafe version of
| |
| nbase | back to summary |
|---|---|
| public static void nbase(long struct, ByteBuffer value) Unsafe version of | |
| nclose$ | back to summary |
|---|---|
| public static FT_Stream_CloseFunc nclose$(long struct) Unsafe version of
| |
| nclose$ | back to summary |
|---|---|
| public static void nclose$(long struct, FT_Stream_CloseFuncI value) Unsafe version of | |
| ncursor | back to summary |
|---|---|
public static ByteBuffer ncursor(long struct, int capacity)
| |
| ncursor | back to summary |
|---|---|
| public static void ncursor(long struct, ByteBuffer value) | |
| ndescriptor | back to summary |
|---|---|
| public static FT_StreamDesc ndescriptor(long struct) Unsafe version of | |
| ndescriptor | back to summary |
|---|---|
| public static void ndescriptor(long struct, FT_StreamDesc value) Unsafe version of | |
| nlimit$ | back to summary |
|---|---|
public static ByteBuffer nlimit$(long struct, int capacity)
| |
| nlimit$ | back to summary |
|---|---|
| public static void nlimit$(long struct, ByteBuffer value) | |
| nmemory | back to summary |
|---|---|
public static FT_Memory nmemory(long struct)
| |
| nmemory | back to summary |
|---|---|
| public static void nmemory(long struct, FT_Memory value) | |
| npathname | back to summary |
|---|---|
| public static FT_StreamDesc npathname(long struct) Unsafe version of | |
| npathname | back to summary |
|---|---|
| public static void npathname(long struct, FT_StreamDesc value) Unsafe version of | |
| npos | back to summary |
|---|---|
| public static long npos(long struct) Unsafe version of | |
| npos | back to summary |
|---|---|
| public static void npos(long struct, long value) Unsafe version of | |
| nread | back to summary |
|---|---|
| public static FT_Stream_IoFunc nread(long struct) Unsafe version of
| |
| nread | back to summary |
|---|---|
| public static void nread(long struct, FT_Stream_IoFuncI value) Unsafe version of | |
| nsize | back to summary |
|---|---|
| public static long nsize(long struct) Unsafe version of | |
| nsize | back to summary |
|---|---|
| public static void nsize(long struct, long value) Sets the specified value to the | |
| pathname | back to summary |
|---|---|
public FT_StreamDesc pathname()
| |
| pathname | back to summary |
|---|---|
| public FT_Stream pathname(FT_StreamDesc value) Copies the specified | |
| pathname | back to summary |
|---|---|
| public FT_Stream pathname(Consumer<FT_StreamDesc> consumer) Passes the | |
| pos | back to summary |
|---|---|
public long pos()
| |
| pos | back to summary |
|---|---|
| public FT_Stream pos(long value) Sets the specified value to the | |
| read | back to summary |
|---|---|
public FT_Stream_IoFunc read()
| |
| read | back to summary |
|---|---|
| public FT_Stream read(FT_Stream_IoFuncI value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public FT_Stream set(ByteBuffer base, long size, long pos, FT_StreamDesc descriptor, FT_StreamDesc pathname, FT_Stream_IoFuncI read, FT_Stream_CloseFuncI close$) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public FT_Stream set(FT_Stream src) Copies the specified struct data to this struct. | |
| size | back to summary |
|---|---|
public long size()
| |
| size | back to summary |
|---|---|
| public FT_Stream size(long value) Sets the specified value to the | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
FT_Stream structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final FT_Stream |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | |
| public FT_Stream. | |
| public FT_Stream_CloseFunc | |
| public FT_Stream. | |
| public FT_StreamDesc | |
| public FT_Stream. | |
| public FT_Stream. | |
| protected FT_Stream | |
| public FT_StreamDesc | |
| public FT_Stream. | |
| public FT_Stream. | |
| public long | |
| public FT_Stream. | |
| public FT_Stream_IoFunc | |
| public FT_Stream. | |
| protected FT_Stream. | |
| public long | |
| public FT_Stream. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final FT_Stream ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| base | back to summary |
|---|---|
public ByteBuffer base()
| |
| base | back to summary |
|---|---|
| public FT_Stream. Sets the address of the specified | |
| close$ | back to summary |
|---|---|
public FT_Stream_CloseFunc close$()
| |
| close$ | back to summary |
|---|---|
| public FT_Stream. Sets the specified value to the | |
| descriptor | back to summary |
|---|---|
public FT_StreamDesc descriptor()
| |
| descriptor | back to summary |
|---|---|
| public FT_Stream. Copies the specified | |
| descriptor | back to summary |
|---|---|
| public FT_Stream. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected FT_Stream getElementFactory() Implements abstract org.
| |
| pathname | back to summary |
|---|---|
public FT_StreamDesc pathname()
| |
| pathname | back to summary |
|---|---|
| public FT_Stream. Copies the specified | |
| pathname | back to summary |
|---|---|
| public FT_Stream. Passes the | |
| pos | back to summary |
|---|---|
public long pos()
| |
| pos | back to summary |
|---|---|
| public FT_Stream. Sets the specified value to the | |
| read | back to summary |
|---|---|
public FT_Stream_IoFunc read()
| |
| read | back to summary |
|---|---|
| public FT_Stream. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected FT_Stream. Implements abstract org.
| |
| size | back to summary |
|---|---|
public long size()
| |
| size | back to summary |
|---|---|
| public FT_Stream. Sets the specified value to the | |