@Name(value="std::vector<uint8_t>") @Properties(inherit=torch.class) public class ByteVector extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
ByteVector.Iterator |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ByteVector() |
ByteVector(byte... array) |
ByteVector(byte value) |
ByteVector(long n) |
ByteVector(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
byte |
back() |
ByteVector.Iterator |
begin() |
void |
clear() |
boolean |
empty() |
ByteVector.Iterator |
end() |
ByteVector.Iterator |
erase(ByteVector.Iterator pos) |
byte |
front() |
byte[] |
get() |
byte |
get(long i) |
ByteVector.Iterator |
insert(ByteVector.Iterator pos,
byte value) |
byte |
pop_back() |
ByteVector |
push_back(byte value) |
ByteVector |
put(byte... array) |
ByteVector |
put(byte value) |
ByteVector |
put(ByteVector x) |
ByteVector |
put(long i,
byte value) |
void |
resize(long n) |
long |
size() |
String |
toString() |
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, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ByteVector(Pointer p)
Pointer(Pointer)
.public ByteVector(byte value)
public ByteVector(byte... array)
public ByteVector()
public ByteVector(long n)
@Name(value="operator =") @ByRef public ByteVector put(@ByRef ByteVector x)
public boolean empty()
public long size()
public void clear()
public byte front()
public byte back()
public ByteVector put(@Cast(value="size_t") long i, byte value)
@ByVal public ByteVector.Iterator insert(@ByVal ByteVector.Iterator pos, @Cast(value="uint8_t") byte value)
@ByVal public ByteVector.Iterator erase(@ByVal ByteVector.Iterator pos)
@ByVal public ByteVector.Iterator begin()
@ByVal public ByteVector.Iterator end()
public byte[] get()
public byte pop_back()
public ByteVector push_back(byte value)
public ByteVector put(byte value)
public ByteVector put(byte... array)
Copyright © 2024. All rights reserved.