@Namespace(value="caffe2::serialize") @Properties(inherit=torch.class) public class ReadAdapterInterface extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ReadAdapterInterface(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
read(long pos,
Pointer buf,
long n) |
long |
read(long pos,
Pointer buf,
long n,
BytePointer what) |
long |
read(long pos,
Pointer buf,
long n,
String what) |
long |
size() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ReadAdapterInterface(Pointer p)
Pointer(Pointer)
.@Cast(value="size_t") public long read(@Cast(value="uint64_t") long pos, Pointer buf, @Cast(value="size_t") long n, @Cast(value="const char*") BytePointer what)
@Cast(value="size_t") public long read(@Cast(value="uint64_t") long pos, Pointer buf, @Cast(value="size_t") long n)
Copyright © 2024. All rights reserved.