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.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
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