All files / src/emitter/section start.js

100% Statements 5/5
100% Branches 0/0
100% Functions 1/1
100% Lines 5/5
1 2 3 4 5 6 7 8 9 10 11 12  21x 21x     2x   2x   2x    
// @flow
import { varuint32 } from '../numbers';
import OutputStream from '../../utils/output-stream';
 
export default function emitTables(start: number[]) {
  const stream = new OutputStream();
 
  stream.push(varuint32, start[0], 'start function');
 
  return stream;
}