Handbook
Glossary
<sbuf> ( n -- sbuf )
Factor handbook
»
The language
»
Collections
»
String buffers
Prev:
>sbuf ( seq -- sbuf )
Vocabulary
sbufs
Inputs
n
a positive integer specifying initial capacity
Outputs
sbuf
a
sbuf
Word description
Creates a new string buffer that can hold
n
characters before resizing.
Definition
USING:
kernel
strings
;
IN:
sbufs
:
<sbuf>
( n -- sbuf )
0
<string>
0
sbuf
boa
;
inline