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.165 -- Release Build+e14d337b173ad33e50be6747ce5b02f477f99484
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