6 lines
136 B
TypeScript
6 lines
136 B
TypeScript
const fixEndChunkLength = (length: number) => {
|
|
return Math.floor((length - 1) / 16) * 16 + 16;
|
|
};
|
|
|
|
export default fixEndChunkLength;
|