Package co.nstant.in.cbor.decoder

## Class ByteStringDecoder

- java.lang.Object
- - co.nstant.in.cbor.decoder.AbstractDecoder<ByteString>
  - - co.nstant.in.cbor.decoder.ByteStringDecoder

-     public class ByteStringDecoder
      extends AbstractDecoder<ByteString>

- - ### Field Summary

    - ### Fields inherited from class co.nstant.in.cbor.decoder.AbstractDecoder

      `decoder, INFINITY, inputStream`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ByteStringDecoder​(CborDecoder decoder, InputStream inputStream)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ByteString` | `decode​(int initialByte)` |

    - ### Methods inherited from class co.nstant.in.cbor.decoder.AbstractDecoder

      `getLength, getLengthAsBigInteger, nextSymbol, nextSymbols, setMaxPreallocationSize`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ByteStringDecoder

          public ByteStringDecoder​(CborDecoder decoder,
                                   InputStream inputStream)

  - ### Method Detail

    - #### decode

          public ByteString decode​(int initialByte)
                            throws CborException

      Specified by:
        `decode` in class `AbstractDecoder<ByteString>`
      Throws:
        `CborException`