@Properties(inherit=python.class) public class _PyBytesWriter extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
_PyBytesWriter()
Default native constructor.
|
_PyBytesWriter(long size)
Native array allocator.
|
_PyBytesWriter(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
allocated() |
_PyBytesWriter |
allocated(long setter) |
PyObject |
buffer() |
_PyBytesWriter |
buffer(PyObject setter) |
long |
min_size() |
_PyBytesWriter |
min_size(long setter) |
int |
overallocate() |
_PyBytesWriter |
overallocate(int setter) |
_PyBytesWriter |
position(long position) |
BytePointer |
small_buffer() |
byte |
small_buffer(int i) |
_PyBytesWriter |
small_buffer(int i,
byte setter) |
int |
use_bytearray() |
_PyBytesWriter |
use_bytearray(int setter) |
int |
use_small_buffer() |
_PyBytesWriter |
use_small_buffer(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public _PyBytesWriter()
public _PyBytesWriter(long size)
Pointer.position(long)
.public _PyBytesWriter(Pointer p)
Pointer.Pointer(Pointer)
.public _PyBytesWriter position(long position)
public PyObject buffer()
public _PyBytesWriter buffer(PyObject setter)
public _PyBytesWriter allocated(long setter)
public _PyBytesWriter min_size(long setter)
public int use_bytearray()
public _PyBytesWriter use_bytearray(int setter)
public int overallocate()
public _PyBytesWriter overallocate(int setter)
public int use_small_buffer()
public _PyBytesWriter use_small_buffer(int setter)
public _PyBytesWriter small_buffer(int i, byte setter)
@MemberGetter @Cast(value="char*") public BytePointer small_buffer()
Copyright © 2020. All rights reserved.