@Namespace(value="tensorflow") @Properties(inherit=tensorflow.class) public class WritableFile extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
WritableFile(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Status |
Append(BytePointer data)
\brief Append 'data' to the file.
|
Status |
Append(String data) |
Status |
Close()
\brief Close the file.
|
Status |
Flush()
\brief Flushes the file and optionally syncs contents to filesystem.
|
Status |
Name(BytePointer result)
This is an optional operation that may not be implemented by every
filesystem.
|
Status |
Sync()
\brief Syncs contents of file to filesystem.
|
Status |
Tell(long... _position) |
Status |
Tell(LongBuffer _position) |
Status |
Tell(LongPointer _position)
\brief Retrieves the current write position in the file, or -1 on
error.
|
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 WritableFile(Pointer p)
Pointer(Pointer)
.@ByVal public Status Append(@tensorflow.StringPiece BytePointer data)
@ByVal public Status Append(@tensorflow.StringPiece String data)
@ByVal public Status Close()
@ByVal public Status Flush()
@ByVal public Status Name(@tensorflow.StringPiece @Cast(value={"char*","StringPiece*"}) BytePointer result)
@ByVal public Status Sync()
@ByVal public Status Tell(@Cast(value="tensorflow::int64*") LongPointer _position)
@ByVal public Status Tell(@Cast(value="tensorflow::int64*") LongBuffer _position)
Copyright © 2022. All rights reserved.