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.163 -- Release Build+087b6813ba03894bf4bfe2466a2a63a9702d9bb9
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