Class OtherBlock


  • public class OtherBlock
    extends java.lang.Object
    Block that is unknown and simply contains a binary blob.
    • Constructor Summary

      Constructors 
      Constructor Description
      OtherBlock​(byte[] body)
      Create a block with a given payload.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] body()
      Returns a binary content of this block, without any further breakdown.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OtherBlock

        public OtherBlock​(byte[] body)
        Create a block with a given payload.
        Parameters:
        body - Payload for the block.
    • Method Detail

      • body

        public byte[] body()
        Returns a binary content of this block, without any further breakdown.
        Returns:
        block payload as a byte array.