/** * ecpToBytes turns an ECP into a byte array * * @param e the ECP to turn into bytes * @return a byte array representation of the ECP */ public static byte[] ToBytes(this ECP e) { byte[] ret = new byte[2 * FIELD_BYTES + 1]; e.ToBytes(ret, false); return(ret); }