vibe.d beta banner
get vibe.d
0.8.3

Asynchronous I/O that doesn’t get in your way, written in D

Struct AllocAppender

struct AllocAppender(ArrayType, E) ;

Constructors

NameDescription
this

Fields

NameTypeDescription
m_alloc IAllocator
m_allocatedBuffer bool
m_data AllocAppender.ElemType[]
m_remaining AllocAppender.ElemType[]

Properties

NameTypeDescription
data[get] ArrayType

Methods

NameDescription
append Appends a number of bytes in-place.
grow
put
put
put
put
put
reserve Grows the capacity of the internal buffer so that it can hold a minumum amount of elements.
reset

Aliases

NameDescription
ElemType
Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.