@NoOffset @Name(value="c10::optional<int8_t>") @Properties(inherit=torch.class) public class ByteOptional extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ByteOptional() |
ByteOptional(byte value) |
ByteOptional(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
byte |
get() |
boolean |
has_value() |
ByteOptional |
put(byte value) |
ByteOptional |
put(ByteOptional x) |
void |
reset() |
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 ByteOptional(Pointer p)
Pointer(Pointer)
.public ByteOptional(byte value)
public ByteOptional()
@Name(value="operator =") @ByRef public ByteOptional put(@ByRef ByteOptional x)
public boolean has_value()
public void reset()
@ValueSetter public ByteOptional put(byte value)
Copyright © 2024. All rights reserved.