File: cr-glib-byte-arrays.texi

package info (click to toggle)
g-golf 0.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,108 kB
  • sloc: lisp: 23,960; sh: 1,213; ansic: 964; makefile: 469; xml: 7
file content (45 lines) | stat: -rw-r--r-- 812 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@c -*-texinfo-*-
@c This is part of the GNU G-Golf Reference Manual.
@c Copyright (C) 2023 Free Software Foundation, Inc.
@c See the file g-golf.texi for copying conditions.


@c @defindex tl


@node Byte Arrays
@subsection Byte Arrays

G-Golf Glib Byte Arrays low level API.@*
Byte Arrays — Arrays of bytes.


@subheading Procedures

@indentedblock
@table @code
@item @ref{g-bytes-new}
@end table
@end indentedblock


@subheading Description

FIXME


@subheading Procedures


@anchor{g-bytes-new}
@deffn Procedure g-bytes-new data size

Returns a pointer.

Create a new @code{GBytes}@footnote{A simple refcounted data type
representing an immutable sequence of zero or more bytes from an
unspecified origin.} from @code{data}.

@code{data} is copied. If @code{size} is 0, @code{data} may be NULL.

@end deffn