Gemstone Common Library
Show/Hide TOC

# ByteEncodingGetString(Byte, Int32, Int32) Method

Encodes given buffer into a user presentable representation.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.154 -- Release Build+24a4f4795f9fb8aaeeb777ef1e3e0158effe5bad
C#
View Source Request Example

    public virtual string GetString(
    	byte[] bytes,
    	int offset,
    	int length
    )

VB
View Source Request Example

    Public Overridable Function GetString (
    	bytes As Byte(),
    	offset As Integer,
    	length As Integer
    ) As String

C++
View Source Request Example

    public:
    virtual String^ GetString(
    	array<unsigned char>^ bytes,
    	int offset,
    	int length
    )

JavaScript
View Source Request Example

    function GetString(bytes, offset, length);

#### Parameters

bytes Byte
  Bytes to encode.
offset Int32
  Offset into buffer to begin encoding.
length Int32
  Length of buffer to encode.

#### Return Value

String
String of encoded bytes.

## See Also

#### Reference

ByteEncoding Class
GetString Overload
Gemstone Namespace