psputil.hxx (ebfcd9af) psputil.hxx (24c56ab9)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 31 unchanged lines hidden (view full) ---

40 * sizeof(pBuffer) must be at least 2 Bytes, 0x00 <= nValue <= 0xFF,
41 * effective buffer of get*ValueOf() is NOT NULL-terminated
42 */
43sal_Int32 getHexValueOf (sal_Int32 nValue, sal_Char* pBuffer);
44sal_Int32 getAlignedHexValueOf (sal_Int32 nValue, sal_Char* pBuffer);
45sal_Int32 getValueOf (sal_Int32 nValue, sal_Char* pBuffer);
46sal_Int32 appendStr (const sal_Char* pSrc, sal_Char* pDst);
47sal_Int32 appendStr (const sal_Char* pSrc, sal_Char* pDst, sal_Int32 nBytes);
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 31 unchanged lines hidden (view full) ---

40 * sizeof(pBuffer) must be at least 2 Bytes, 0x00 <= nValue <= 0xFF,
41 * effective buffer of get*ValueOf() is NOT NULL-terminated
42 */
43sal_Int32 getHexValueOf (sal_Int32 nValue, sal_Char* pBuffer);
44sal_Int32 getAlignedHexValueOf (sal_Int32 nValue, sal_Char* pBuffer);
45sal_Int32 getValueOf (sal_Int32 nValue, sal_Char* pBuffer);
46sal_Int32 appendStr (const sal_Char* pSrc, sal_Char* pDst);
47sal_Int32 appendStr (const sal_Char* pSrc, sal_Char* pDst, sal_Int32 nBytes);
48inline sal_Int32 appendStr( const ::rtl::OString& rSrc, sal_Char* pDst) { return appendStr( rSrc.getStr(), pDst);}
48
49sal_Bool WritePS (osl::File* pFile, const sal_Char* pString);
50sal_Bool WritePS (osl::File* pFile, const sal_Char* pString, sal_uInt64 nInLength);
51sal_Bool WritePS (osl::File* pFile, const rtl::OString &rString);
52sal_Bool WritePS (osl::File* pFile, const rtl::OUString &rString);
53
54class ConverterFactory
55{

--- 19 unchanged lines hidden ---
49
50sal_Bool WritePS (osl::File* pFile, const sal_Char* pString);
51sal_Bool WritePS (osl::File* pFile, const sal_Char* pString, sal_uInt64 nInLength);
52sal_Bool WritePS (osl::File* pFile, const rtl::OString &rString);
53sal_Bool WritePS (osl::File* pFile, const rtl::OUString &rString);
54
55class ConverterFactory
56{

--- 19 unchanged lines hidden ---