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