This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am alanw on github. | |
* I am alanwright (https://keybase.io/alanwright) on keybase. | |
* I have a public key ASA1qtBbOpzroHFcY5lcQeJSjb2o7iktbTMrzG8WEyQrJgo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SkipBuffer::SkipBuffer(IndexInputPtr input, int32_t length) | |
{ | |
std::cout << "SkipBuffer::SkipBuffer (" << this << ") [length = " << length << "]" << std::endl; | |
pos = 0; | |
data = ByteArray::newInstance(length); | |
pointer = input->getFilePointer(); | |
input->readBytes(data.get(), 0, length); | |
} | |
SkipBuffer::~SkipBuffer() |