The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
StringBuf
mir
format
struct
StringBuf (
C
uint
scopeSize
= 256
)
if
(
is
(
C
==
char
) ||
is
(
C
==
wchar
)
||
is
(
C
==
dchar
)
) {
struct
ScopedBuffer
(T, size_t bytes = 4096)
via
import
mir
.
appender
:
ScopedBuffer
;
;
ScopedBuffer
!(
C
,
scopeSize
)
buffer
;
mixin
StreamFormatOp
!
C
;
}
Alias This
buffer
Members
Mixins
__anonymous
mixin
StreamFormatOp
!
C
Variables
buffer
ScopedBuffer
!(
C
,
scopeSize
)
buffer
;
Mixed In Members
From
mixin
StreamFormatOp
!
C
opBinary
typeof
(
this
)
opBinary
(T c)
opBinary
typeof
(
this
)
opBinary
(T c)
const
(
C
)[]
opBinary
(T c)
Meta
Source
See Implementation
mir
format
enums
CollectionStyle
EscapeFormat
StringStyle
SwitchLU
functions
hexAddress
print
printArray
printBoolean
printElement
printEscaped
printHexArray
printReplaced
printStaticString
printZeroPad
put_UXXXXXXXX
put_uXXXX
put_xXX
stringBuf
text
withFormat
manifest constants
getData
mixin templates
StreamFormatOp
structs
FormatSpec
FormattedFloating
GetData
HexAddress
NumericSpec
StringBuf