arsd-official ~master (2025-02-03T02:20:33Z)
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
NonOverflowingInt
NonOverflowingUint
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
LoggerOf
NamedPipeServer
NotSupportedException
NotYetImplementedException
ReadableStream
SingleInstanceApplication
StreamServer
SystemApiException
Timer
TranslationEngine
WritableStream
tstring
enums
ByteOrder
EventLoopType
GetFilesResult
LogLevel
OnOutOfSpace
ThreadToRunIn
WindowsStringConversionFlags
functions
arsd_core_init
asTheyComplete
castTo
flagsToString
getCurrentWorkingDirectory
getFiles
getThisThreadEventLoop
inSchedulableTask
intToString
isSliceOf
makeUtf8StringFromWindowsString
makeWindowsString
mallocSlice
mallocedStringz
matchesFilePattern
populateFromArgs
provideBuffer
readBinaryFile
readTextFile
reinterpretCast
sizeOfConvertedWstring
stripInternal
stripRightInternal
toStringInternal
waitForFirstToComplete
waitForFirstToCompleteByIndex
writeFile
writeln
interfaces
AsyncOperationResponse
ICoreEventLoop
LogListenerController
mixin templates
OverlappedIoRequest
structs
ArgSentinel
ArsdCoreApplication
AsTheyCompleteRange
CharzBuffer
FilePath
FlexibleDelegate
IntToStringArgs
LimitedVariant
LoggedMessage
NonOverflowingIntBase
OwnedClass
PackedDateTime
PresenceOf
SavedArgument
SchedulableTaskController
SimplifiedUtcTimestamp
SocketAddress
SourceLocation
SynchronizedCircularBuffer
SystemErrorCode
UserProvidedBuffer
WCharzBuffer
stringz
templates
ArsdException
ErrnoEnforce
Win32Enforce
populateFromUdas
variables
taskUncaughtException