public static class StringLength.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Attrs()
Default native constructor.
|
Attrs(long size)
Native array allocator.
|
Attrs(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
StringLength.Attrs |
getPointer(long i) |
StringLength.Attrs |
position(long position) |
BytePointer |
unit_() |
StringLength.Attrs |
unit_(BytePointer setter) |
StringLength.Attrs |
Unit(BytePointer x)
The unit that is counted to compute string length.
|
StringLength.Attrs |
Unit(String x) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Attrs()
public Attrs(long size)
Pointer.position(long)
.public Attrs(Pointer p)
Pointer(Pointer)
.public StringLength.Attrs position(long position)
public StringLength.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public StringLength.Attrs Unit(@tensorflow.StringPiece BytePointer x)
"BYTE"
(for
the number of bytes in each string) or "UTF8_CHAR"
(for the number of UTF-8
encoded Unicode code points in each string). Results are undefined
if unit=UTF8_CHAR
and the input
strings do not contain structurally
valid UTF-8.
Defaults to "BYTE"@ByVal public StringLength.Attrs Unit(@tensorflow.StringPiece String x)
@tensorflow.StringPiece public BytePointer unit_()
public StringLength.Attrs unit_(BytePointer setter)
Copyright © 2022. All rights reserved.