arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
File
arsd
core
version(HasFile)
class
File :
AbstractFile
{
this
(FilePath filename, OpenMode mode, RequirePreexisting require, uint specialFlags, uint permMask);
ubyte
[]
read
(ubyte[] buffer);
void
write
(void[] buffer);
}
Constructors
this
this
(FilePath filename, OpenMode mode, RequirePreexisting require, uint specialFlags, uint permMask)
Opens a file in synchronous access mode.
Members
Functions
read
ubyte
[]
read
(ubyte[] buffer)
write
void
write
(void[] buffer)
Inherited Members
From AbstractFile
OpenMode
enum
OpenMode
RequirePreexisting
enum
RequirePreexisting
close
void
close
()
Meta
Source
See Implementation
arsd
core
aliases
AsyncAnonymousPipe
ErrnoApiException
WindowsApiException
typeCast
classes
AbstractFile
ArsdExceptionBase
AsyncAcceptRequest
AsyncAcceptResponse
AsyncConnectRequest
AsyncConnectResponse
AsyncFile
AsyncOperationRequest
AsyncReadRequest
AsyncReadResponse
AsyncReceiveRequest
AsyncReceiveResponse
AsyncSendRequest
AsyncSendResponse
AsyncSocket
AsyncWriteRequest
AsyncWriteResponse
DatagramListener
DirectoryWatcher
ExternalProcess
FeatureUnavailableException
File
InvalidArgumentsException
NamedPipeServer
NotSupportedException
NotYetImplementedException
ReadableStream
SingleInstanceApplication
StreamServer
SystemApiException
Timer
TranslationEngine
WritableStream
tstring
enums
ByteOrder
EventLoopType
GetFilesResult
OnOutOfSpace
ThreadToRunIn
WindowsStringConversionFlags
functions
arsd_core_init
asTheyComplete
castTo
flagsToString
getFiles
getThisThreadEventLoop
inSchedulableTask
intToString
makeUtf8StringFromWindowsString
makeWindowsString
mallocSlice
mallocedStringz
matchesFilePattern
populateFromArgs
provideBuffer
readBinaryFile
readTextFile
sizeOfConvertedWstring
stripInternal
stripRightInternal
toStringInternal
waitForFirstToComplete
waitForFirstToCompleteByIndex
writeFile
writeln
interfaces
AsyncOperationResponse
ICoreEventLoop
mixin templates
LoggerOf
OverlappedIoRequest
structs
ArgSentinel
ArsdCoreApplication
AsTheyCompleteRange
CharzBuffer
FilePath
FlexibleDelegate
IntToStringArgs
LimitedVariant
OwnedClass
PackedDateTime
PresenceOf
SavedArgument
SchedulableTaskController
SimplifiedUtcTimestamp
SocketAddress
SynchronizedCircularBuffer
SystemErrorCode
UserProvidedBuffer
WCharzBuffer
stringz
templates
ArsdException
ErrnoEnforce
Win32Enforce
populateFromUdas
variables
taskUncaughtException