protected internal override void WriteFormatSpecifier(WritableBuffer formatSpecifier) { for (int i = 0; i < formatSpecifier.Size(); i++) { formatSpecifier.PutByte(i, unchecked (( sbyte )0xFF)); } }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public boolean visit(WritableBuffer key, WritableBuffer value) throws java.io.IOException public bool visit(WritableBuffer key, WritableBuffer value) { if (done) { return(false); } ReadKeyValuePair(_cursor, offset, key, value); if (key.AllZeroes()) { done = true; return(false); } offset += key.Size() + value.Size(); if (offset >= _outerInstance.file.pageSize()) { offset = 0; if (!_cursor.next()) { done = true; } } return(true); }
protected internal override void WriteFormatSpecifier(WritableBuffer formatSpecifier) { formatSpecifier.PutByte(0, unchecked (( sbyte )0xFF)); formatSpecifier.PutByte(formatSpecifier.Size() - 1, unchecked ((sbyte)0xFF)); }
public void write(long?value, WritableBuffer header) { header.PutLong(header.Size() - 8, value.Value); }