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.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
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