Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.rabbitmq.client.impl
Class LongStringHelper

    java.lang.Object
      com.rabbitmq.client.impl.LongStringHelper

    public class LongStringHelper

extends java.lang.Object

Utility for working with `LongString`s.

Constructor Summary
`LongStringHelper()`

Method Summary
`static LongString` | `asLongString(byte[] bytes)` Converts a binary block to a LongString.
`static LongString` | `asLongString(java.lang.String string)` Converts a String to a LongString using UTF-8 encoding.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LongStringHelper

    public LongStringHelper()

Method Detail

### asLongString

    public static LongString asLongString(java.lang.String string)

  Converts a String to a LongString using UTF-8 encoding.

  Parameters:
    `string` - the string to wrap
  Returns:
    a LongString wrapping it

### asLongString

    public static LongString asLongString(byte[] bytes)

  Converts a binary block to a LongString.

  Parameters:
    `bytes` - the data to wrap
  Returns:
    a LongString wrapping it

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD