4#include <rudiments/charstring.h>
5#include <rudiments/wcharstring.h>
6#include <rudiments/ucs2charstring.h>
11 return highLevelWrite((
const byte_t *)&
number,
sizeof(
float));
16 return highLevelWrite((
const byte_t *)&
number,
sizeof(
double));
21 return highLevelWrite(&
character,
sizeof(byte_t));
26 return highLevelWrite((
const byte_t *)&
character,
sizeof(
char));
31 return highLevelWrite((
const byte_t *)&
character,
sizeof(
wchar_t));
36 return highLevelWrite((
const byte_t *)&
character,
sizeof(ucs2_t));
41 return highLevelWrite((
const byte_t *)&value,
sizeof(
bool));
46 return highLevelWrite(
string,
52 return highLevelWrite((
const byte_t *)
string,
58 return highLevelWrite((
const byte_t *)
string,
64 return highLevelWrite((
const byte_t *)
string,
70 return highLevelWrite((
const byte_t *)
string,
size);
75 return highLevelWrite((
const byte_t *)
string,
length);
80 return highLevelWrite((
const byte_t *)
string,
length*
sizeof(
wchar_t));
85 return highLevelWrite((
const byte_t *)
string,
length*
sizeof(ucs2_t));
90 return highLevelWrite((
const byte_t *)
buffer,
size);
94 return highLevelWrite((
const byte_t *)&
number,
sizeof(
float),
sec,
usec);
99 return highLevelWrite((
const byte_t *)&
number,
sizeof(
double),
sec,
usec);
109 return highLevelWrite((
const byte_t *)&
character,
115 return highLevelWrite((
const byte_t *)&
character,
121 return highLevelWrite((
const byte_t *)&
character,
127 return highLevelWrite((
const byte_t *)&value,
140 return highLevelWrite((
const byte_t *)
string,
length,
sec,
usec);
146 return highLevelWrite((
const byte_t *)
string,
153 return highLevelWrite((
const byte_t *)
string,
159 return highLevelWrite(
string,
165 return highLevelWrite((
const byte_t *)
string,
172 return highLevelWrite((
const byte_t *)
string,
179 return highLevelWrite((
const byte_t *)
string,
191 return highLevelRead((byte_t *)
buffer,
sizeof(
float));
196 return highLevelRead((byte_t *)
buffer,
sizeof(
double));
201 return highLevelRead((byte_t *)
buffer,
sizeof(byte_t));
206 return highLevelRead((byte_t *)
buffer,
sizeof(
char));
211 return highLevelRead((byte_t *)
buffer,
sizeof(
wchar_t));
216 return highLevelRead((byte_t *)
buffer,
sizeof(ucs2_t));
221 return highLevelRead((byte_t *)
buffer,
sizeof(
bool));
236 return highLevelRead((byte_t *)
buffer,
length*
sizeof(
wchar_t));
241 return highLevelRead((byte_t *)
buffer,
length*
sizeof(ucs2_t));
261 return highLevelRead((byte_t *)
buffer,
sizeof(
float),
sec,
usec);
266 return highLevelRead((byte_t *)
buffer,
sizeof(
double),
sec,
usec);
276 return highLevelRead((byte_t *)
buffer,
sizeof(
char),
sec,
usec);
281 return highLevelRead((byte_t *)
buffer,
sizeof(
wchar_t),
sec,
usec);
286 return highLevelRead((byte_t *)
buffer,
sizeof(ucs2_t),
sec,
usec);
291 return highLevelRead((byte_t *)
buffer,
sizeof(
bool),
sec,
usec);
309 return highLevelRead((byte_t *)
buffer,
316 return highLevelRead((byte_t *)
buffer,
Definition character.h:11
static size_t getLength(const char *string)
ssize_t write(uint16_t number)
ssize_t readUcs2(ucs2_t *buffer)
Definition filedescriptorinlines.h:215
ssize_t read(uint16_t *buffer)
ssize_t writeUcs2(ucs2_t character)
Definition filedescriptorinlines.h:35
static size_t getLength(const ucs2_t *string)
static size_t getLength(const wchar_t *string)