feat: open FSSHTTP OneNote sections
This commit is contained in:
@@ -553,11 +553,14 @@ function parseObjectGroupData(
|
||||
context.limits.maxVectorBytes,
|
||||
'Object binary item size'
|
||||
);
|
||||
const offset = body.offset;
|
||||
const data = body.read(size);
|
||||
result = {
|
||||
kind: 'object',
|
||||
objectReferences,
|
||||
cellReferences,
|
||||
data: body.read(size),
|
||||
data,
|
||||
dataReference: { source: body.bytes, offset, size },
|
||||
};
|
||||
} else if (header.type === FSSHTTP_OBJECT.objectGroupBlobReference) {
|
||||
result = {
|
||||
|
||||
@@ -120,6 +120,7 @@ export type FssHttpObjectGroupData =
|
||||
objectReferences: ExGuid[];
|
||||
cellReferences: FssHttpCellId[];
|
||||
data: Uint8Array;
|
||||
dataReference: FileDataBlobReference;
|
||||
}
|
||||
| {
|
||||
kind: 'excluded';
|
||||
|
||||
Reference in New Issue
Block a user