Class PGbytea

java.lang.Object
org.postgresql.util.PGbytea

public class PGbytea extends Object
Converts to and from the postgresql bytea datatype used by the backend.
  • Constructor Details

    • PGbytea

      public PGbytea()
  • Method Details

    • toBytes

      public static byte[] toBytes(byte[] s) throws SQLException
      Throws:
      SQLException
    • toPGString

      public static String toPGString(byte[] buf)