Spaces:
Running
Running
File size: 739 Bytes
78c921d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import * as flatbuffers from 'flatbuffers';
export declare class Block {
bb: flatbuffers.ByteBuffer | null;
bb_pos: number;
__init(i: number, bb: flatbuffers.ByteBuffer): Block;
/**
* Index to the start of the RecordBlock (note this is past the Message header)
*/
offset(): flatbuffers.Long;
/**
* Length of the metadata
*/
metaDataLength(): number;
/**
* Length of the data (this is aligned so there can be a gap between this and
* the metadata).
*/
bodyLength(): flatbuffers.Long;
static sizeOf(): number;
static createBlock(builder: flatbuffers.Builder, offset: flatbuffers.Long, metaDataLength: number, bodyLength: flatbuffers.Long): flatbuffers.Offset;
}
|