import { loremIpsum } from "./lorem_ipsum" ; export function make_lorem_ipsum_buffer ( ) { return Buffer . from ( loremIpsum ) ; } export function make_simple_buffer ( chunkSize ) { const n = ( chunkSize ) * 4 + 12 ; const buf = Buffer . allocUnsafe ( n ) ; for ( let i = 0 ; i < n ; i += 1 ) { buf . writeUInt8 ( i % 256 , i ) ; } return buf ; }