org.postgresql.util
Class PGbytea

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

public class PGbytea
extends Object

Converts to and from the postgresql bytea datatype used by the backend.


Constructor Summary
PGbytea()
           
 
Method Summary
static byte[] toBytes(byte[] s)
           
static String toPGString(byte[] p_buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PGbytea

public PGbytea()
Method Detail

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.