File.write

Writes up to count binary objects from the given array buffer

  1. size_t write(void* ptr, size_t size, size_t nmemb)
    struct File
    nothrow @nogc
    size_t
    write
    (
    in void* ptr
    ,
    size_t size
    ,
    size_t nmemb
    )
  2. size_t write(T[] buf)
  3. size_t write(T b)

Parameters

ptr void*

pointer to the first object object in the array to be written

size size_t

size of each object in bytes

nmemb size_t

the number of the objects to be read

Return Value

Type: size_t

number of objects written successfully

Meta