DataFileOutput

Composes a seekable file with buffered binary output. A seek causes the output buffer to be flushed first.

Constructors

this
this(char[] path, File.Style style)

Compose a FileStream.

this
this(File file)

Wrap a FileConduit instance.

Members

Functions

file
File file()

Return the underlying conduit.

Inherited Members

From DataOutput

put
alias put = array
Undocumented in source.
putBool
alias putBool = boolean
Undocumented in source.
putByte
alias putByte = int8
Undocumented in source.
putShort
alias putShort = int16
Undocumented in source.
putInt
alias putInt = int32
Undocumented in source.
putLong
alias putLong = int64
Undocumented in source.
putFloat
alias putFloat = float32
Undocumented in source.
putFloat
alias putFloat = float64
Undocumented in source.
Native
anonymousenum Native

Endian variations.

endian
DataOutput endian(int e)

Set current endian translation.

array
ulong array(const(void)[] src)

Write an array to the target stream. Note that the size of the array is written as an integer prefixing the array content itself. Use write(void[]) to eschew this prefix.

boolean
void boolean(bool x)
int8
void int8(byte x)
int16
void int16(short x)
int32
void int32(int x)
int64
void int64(long x)
float32
void float32(float x)
float64
void float64(double x)
write
size_t write(const(void)[] data)

Meta