LibreOffice Module registry (master) 1
reflwrit.cxx File Reference
#include <sal/types.h>
#include <rtl/ustring.h>
#include <registry/refltype.hxx>
#include "reflcnst.hxx"
Include dependency graph for reflwrit.cxx:

Go to the source code of this file.


sal_uInt32 UINT16StringLen (const sal_uInt8 *wstring)
sal_uInt32 writeString (sal_uInt8 *buffer, const sal_Unicode *v)
sal_uInt32 readString (const sal_uInt8 *buffer, sal_Unicode *v, sal_uInt32 maxSize)

Function Documentation

◆ readString()

sal_uInt32 readString ( const sal_uInt8 buffer,
sal_Unicode v,
sal_uInt32  maxSize 

Definition at line 54 of file reflwrit.cxx.

References i, readUINT16(), UINT16StringLen(), and v.

Referenced by ORegistry::dumpValue(), ORegKey::getUnicodeListValue(), and ORegKey::getValue().

◆ UINT16StringLen()

sal_uInt32 UINT16StringLen ( const sal_uInt8 wstring)

Definition at line 29 of file reflwrit.cxx.

Referenced by readString().

◆ writeString()

sal_uInt32 writeString ( sal_uInt8 buffer,
const sal_Unicode v 

Definition at line 40 of file reflwrit.cxx.

References i, v, and writeUINT16().

Referenced by ORegKey::setUnicodeListValue(), and ORegKey::setValue().