Class Blob

java.lang.Object
org.web3j.crypto.Blob

public class Blob extends Object
  • Constructor Details

    • Blob

      public Blob(org.apache.tuweni.bytes.Bytes data)
      Create a new Blob.
      Parameters:
      data - that represents the blob in Bytes.
    • Blob

      public Blob(byte[] data)
      Create a new Blob.
      Parameters:
      data - that represents the blob in byte[].
  • Method Details

    • getData

      public org.apache.tuweni.bytes.Bytes getData()
      Get the data of the Blob.
      Returns:
      the data.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object