Lines Matching refs:bytes

50  * determining the position of a pattern of bytes within a
63 * Returns the number of bytes in the <code>BLOB</code> value
65 * @return length of the <code>BLOB</code> in bytes
77 * bytes. This <code>byte</code> array contains up to <code>length</code>
78 * consecutive bytes starting at position <code>pos</code>.
83 * @param length the number of consecutive bytes to be copied; the value
86 * consecutive bytes from the <code>BLOB</code> value designated
154 * Writes the given array of bytes to the <code>BLOB</code> value that
156 * <code>pos</code>, and returns the number of bytes written.
157 * The array of bytes will overwrite the existing bytes
160 * while writing the array of bytes, then the length of the <code>Blob</code>
161 * value will be increased to accomodate the extra bytes.
171 * @param bytes the array of bytes to be written to the <code>BLOB</code>
173 * @return the number of bytes written
181 int setBytes(long pos, byte[] bytes) throws SQLException;
186 * and returns the number of bytes written.
188 * value; <code>len</code> bytes from the given byte array are written.
189 * The array of bytes will overwrite the existing bytes
192 * while writing the array of bytes, then the length of the <code>Blob</code>
193 * value will be increased to accomodate the extra bytes.
203 * @param bytes the array of bytes to be written to this <code>BLOB</code>
205 * @param offset the offset into the array <code>bytes</code> at which
206 * to start reading the bytes to be set
207 * @param len the number of bytes to be written to the <code>BLOB</code>
208 * value from the array of bytes <code>bytes</code>
209 * @return the number of bytes written
217 int setBytes(long pos, byte[] bytes, int offset, int len) throws SQLException;
223 * The bytes written to the stream will overwrite the existing bytes
227 * value will be increased to accomodate the extra bytes.
250 * object represents to be <code>len</code> bytes in length.
258 * @param len the length, in bytes, to which the <code>BLOB</code> value
289 * starting with the byte specified by pos, which is length bytes in length.
293 * @param length the length in bytes of the partial value to be retrieved
295 * @throws SQLException if pos is less than 1 or if pos is greater than the number of bytes
296 * in the <code>Blob</code> or if pos + length is greater than the number of bytes