Class Bytes

java.lang.Object
io.trino.testing.Bytes

public final class Bytes extends Object
Value-based, immutable byte[] equivalent.
  • Method Details

    • fromBytes

      public static Bytes fromBytes(byte... bytes)
    • getBytes

      public byte[] getBytes()
    • 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