D Programming Language 2.0
Comments
D
Home
Last update Sat May 19 02:03:01 2012
D
Language
Phobos
Comparisons
io
io.core
io.file
io.socket
io.port
io.file
struct
File
;
File
is seekable device.
this(string
fname
, const(char[])
mode
= "r");
void
attach
(HANDLE
h
);
void
detach
();
bool
pull
(ref ubyte[]
buf
);
Request n number of elements.
buf
is treated as an output range.
Returns:
true
: You can request next
pull
.
false
: No element exists.
bool
push
(ref const(ubyte)[]
buf
);
@property bool
seekable
();
ulong
seek
(long
offset
, SeekPos
whence
);
struct
ArraySource
(E);
Wrapping array with
source
interface.
Copyright © 1999-2012 by Digital Mars, All Rights Reserved | Page generated by
Ddoc
.