public static int BinaryToURI(char[] buf, int pos, byte[] value) { if (value == null) { return(pos); } return(ByteaConverter.Serialize(value, buf, pos)); }
public static int BinaryToCompositeURI(char[] buf, int pos, byte[] value) { if (value == null) { return(pos); } buf[pos] = '\\'; return(ByteaConverter.Serialize(value, buf, pos + 1)); }