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.171 -- Release Build+4f4d518944b843c059d40b523747cd410a7c216d
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