@Namespace(value="tensorflow::io") @NoOffset public static class tensorflow.RecordWriter extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static long |
kFooterSize |
static long |
kHeaderSize |
| Constructor and Description |
|---|
RecordWriter(Pointer p)
Pointer cast constructor.
|
RecordWriter(tensorflow.WritableFile dest) |
RecordWriter(tensorflow.WritableFile dest,
tensorflow.RecordWriterOptions options) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Status |
Close() |
tensorflow.Status |
Flush() |
static long |
kFooterSize() |
static long |
kHeaderSize() |
static void |
PopulateFooter(byte[] footer,
BytePointer data,
long n) |
static void |
PopulateFooter(byte[] footer,
String data,
long n) |
static void |
PopulateFooter(ByteBuffer footer,
BytePointer data,
long n) |
static void |
PopulateFooter(ByteBuffer footer,
String data,
long n) |
static void |
PopulateFooter(BytePointer footer,
BytePointer data,
long n) |
static void |
PopulateFooter(BytePointer footer,
String data,
long n) |
static void |
PopulateHeader(byte[] header,
BytePointer data,
long n) |
static void |
PopulateHeader(byte[] header,
String data,
long n) |
static void |
PopulateHeader(ByteBuffer header,
BytePointer data,
long n) |
static void |
PopulateHeader(ByteBuffer header,
String data,
long n) |
static void |
PopulateHeader(BytePointer header,
BytePointer data,
long n) |
static void |
PopulateHeader(BytePointer header,
String data,
long n) |
tensorflow.Status |
WriteRecord(BytePointer slice) |
tensorflow.Status |
WriteRecord(String slice) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic static final long kHeaderSize
public static final long kFooterSize
public RecordWriter(Pointer p)
Pointer.Pointer(Pointer).public RecordWriter(tensorflow.WritableFile dest, @Const @ByRef(nullValue="tensorflow::io::RecordWriterOptions()") tensorflow.RecordWriterOptions options)
public RecordWriter(tensorflow.WritableFile dest)
@MemberGetter @Cast(value="const size_t") public static long kHeaderSize()
@MemberGetter @Cast(value="const size_t") public static long kFooterSize()
@ByVal public tensorflow.Status WriteRecord(@tensorflow.StringPiece BytePointer slice)
@ByVal public tensorflow.Status WriteRecord(@tensorflow.StringPiece String slice)
@ByVal public tensorflow.Status Flush()
@ByVal public tensorflow.Status Close()
public static void PopulateHeader(@Cast(value="char*") BytePointer header, @Cast(value="const char*") BytePointer data, @Cast(value="size_t") long n)
public static void PopulateHeader(@Cast(value="char*") ByteBuffer header, String data, @Cast(value="size_t") long n)
public static void PopulateHeader(@Cast(value="char*") byte[] header, @Cast(value="const char*") BytePointer data, @Cast(value="size_t") long n)
public static void PopulateHeader(@Cast(value="char*") BytePointer header, String data, @Cast(value="size_t") long n)
public static void PopulateHeader(@Cast(value="char*") ByteBuffer header, @Cast(value="const char*") BytePointer data, @Cast(value="size_t") long n)
public static void PopulateHeader(@Cast(value="char*") byte[] header, String data, @Cast(value="size_t") long n)
public static void PopulateFooter(@Cast(value="char*") BytePointer footer, @Cast(value="const char*") BytePointer data, @Cast(value="size_t") long n)
public static void PopulateFooter(@Cast(value="char*") ByteBuffer footer, String data, @Cast(value="size_t") long n)
public static void PopulateFooter(@Cast(value="char*") byte[] footer, @Cast(value="const char*") BytePointer data, @Cast(value="size_t") long n)
public static void PopulateFooter(@Cast(value="char*") BytePointer footer, String data, @Cast(value="size_t") long n)
public static void PopulateFooter(@Cast(value="char*") ByteBuffer footer, @Cast(value="const char*") BytePointer data, @Cast(value="size_t") long n)
Copyright © 2019. All rights reserved.