File size: 219 Bytes
4ee4376
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import { bytesToAscii } from './common';

export default (data, map) => {
  let text = data.subarray(1, data.indexOf(0));

  map._segmentData.CNAM = {
    text: bytesToAscii(text),
    data: data,
    raw: text,
  };
};