org.postgresql.util
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PGbytea
public PGbytea()
toBytes
public static byte[] toBytes(byte[] s)
throws SQLException
- Throws:
SQLException
toPGString
public static String toPGString(byte[] p_buf)
throws SQLException
- Throws:
SQLException
Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.