1Binary.createBlock(3kaya)    Kaya module reference   Binary.createBlock(3kaya)
2
3
4

NAME

6       Binary::createBlock  -  Create  a  new,  uninitialised block for binary
7       data.
8

SYNOPSIS

10       Binary createBlock( Int bsize )
11

ARGUMENTS

13       bsize The size of the block. Block sizes cannot  be  changed  once  the
14       block is created.
15

DESCRIPTION

17       Create  a  new,  uninitialised  block  for binary data. Remember to use
18       Builtins.byteLength (3kaya) instead of Builtins.length (3kaya)  if  you
19       want  to  store  Strings in these, as you may have problems with multi-
20       byte characters otherwise.
21
22       The uninitialised contents of this  block  are  not  guaranteed  to  be
23       zeroes.
24

AUTHORS

26       Kaya   standard  library  by  Edwin  Brady,  Chris  Morris  and  others
27       (kaya@kayalang.org). For further information see http://kayalang.org/
28

LICENSE

30       The Kaya standard library is free software;  you  can  redistribute  it
31       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
32       License (version 2.1 or any later version) as  published  by  the  Free
33       Software Foundation.
34
36       Binary.Binary (3kaya)
37
38
39
40Kaya                             December 2010       Binary.createBlock(3kaya)
Impressum