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.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
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