Package 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.
-
-
Constructor Summary
Constructors Constructor Description PGbytea()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
toBytes(byte[] s)
static String
toPGString(byte[] buf)
-
-
-
Method Detail
-
toBytes
public static byte[] toBytes(byte[] s) throws SQLException
- Throws:
SQLException
-
toPGString
public static String toPGString(byte[] buf)
-
-