Home | History | Annotate | Download | only in hash

Lines Matching refs:maxLength

85    * @param maxLength the maximum number of bytes to write
89 public int writeBytesTo(byte[] dest, int offset, int maxLength) {
90 maxLength = Ints.min(maxLength, bits() / 8);
91 Preconditions.checkPositionIndexes(offset, offset + maxLength, dest.length);
92 writeBytesToImpl(dest, offset, maxLength);
93 return maxLength;
96 abstract void writeBytesToImpl(byte[] dest, int offset, int maxLength);
160 void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
161 for (int i = 0; i < maxLength; i++) {
224 void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
225 for (int i = 0; i < maxLength; i++) {
301 void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
302 System.arraycopy(bytes, 0, dest, offset, maxLength);