Home
last modified time | relevance | path

Searched refs:_currBlock (Results 1 – 1 of 1) sorted by relevance

/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DByteArrayBuilder.java48 private byte[] _currBlock; field in ByteArrayBuilder
57_currBlock = (br == null) ? new byte[firstBlockSize] : br.allocByteBuffer(BufferRecycler.BYTE_WRIT… in ByteArrayBuilder()
62 _currBlock = initialBlock; in ByteArrayBuilder()
93 if (_bufferRecycler != null && _currBlock != null) { in release()
94 _bufferRecycler.releaseByteBuffer(BufferRecycler.BYTE_WRITE_CONCAT_BUFFER, _currBlock); in release()
95 _currBlock = null; in release()
100 if (_currBlockPtr >= _currBlock.length) { in append()
103 _currBlock[_currBlockPtr++] = (byte) i; in append()
107 if ((_currBlockPtr + 1) < _currBlock.length) { in appendTwoBytes()
108 _currBlock[_currBlockPtr++] = (byte) (b16 >> 8); in appendTwoBytes()
[all …]