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.176 -- Release Build+c74560d581224bfee7a285d73926fb4fb3df8ece
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