File size: 687 Bytes
5641073
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * @author jdiaz5513
 */
/**
 * A simple object that describes the size of a struct.
 *
 * @export
 * @class ObjectSize
 */
export declare class ObjectSize {
    /** The number of bytes required for the data section. */
    readonly dataByteLength: number;
    /** The number of pointers in the object. */
    readonly pointerLength: number;
    constructor(dataByteLength: number, pointerCount: number);
    toString(): string;
}
export declare function getByteLength(o: ObjectSize): number;
export declare function getDataWordLength(o: ObjectSize): number;
export declare function getWordLength(o: ObjectSize): number;
export declare function padToWord(o: ObjectSize): ObjectSize;