mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-18 10:24:27 +00:00
bulk code format fix (#8707)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { BitWidth } from './bit-width.js'
|
||||
import {BitWidth} from './bit-width.js';
|
||||
|
||||
export function toByteWidth(bitWidth: BitWidth): number {
|
||||
return 1 << bitWidth;
|
||||
@@ -31,4 +31,4 @@ export function fromByteWidth(value: number): BitWidth {
|
||||
|
||||
export function paddingSize(bufSize: number, scalarSize: number): number {
|
||||
return (~bufSize + 1) & (scalarSize - 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user