Gemstone Common Library
Show/Hide TOC

# ByteEncodingGetBytes(String, Char) Method

Decodes given string back into a byte buffer.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.152 -- Release Build+1bdd5395ab91a1a698659399697f8334859b02d2
C#
View Source Request Example

    public abstract byte[] GetBytes(
    	string value,
    	char spacingCharacter
    )

VB
View Source Request Example

    Public MustOverride Function GetBytes (
    	value As String,
    	spacingCharacter As Char
    ) As Byte()

C++
View Source Request Example

    public:
    virtual array<unsigned char>^ GetBytes(
    	String^ value,
    	wchar_t spacingCharacter
    ) abstract

JavaScript
View Source Request Example

    function GetBytes(value, spacingCharacter);

#### Parameters

value String
  Encoded string to decode.
spacingCharacter Char
  Original spacing character that was inserted between encoded bytes.

#### Return Value

Byte
Decoded bytes

## See Also

#### Reference

ByteEncoding Class
GetBytes Overload
Gemstone Namespace