added "A" encoding-table

This commit is contained in:
boombuler 2017-04-03 19:16:53 +02:00
parent c07adc95a0
commit 868ca20ff5
1 changed files with 12 additions and 2 deletions

View File

@ -110,10 +110,11 @@ var encodingTable = [107][]bool{
[]bool{true, true, false, false, false, true, true, true, false, true, false, true, true}, []bool{true, true, false, false, false, true, true, true, false, true, false, true, true},
} }
// const startASymbol byte = 103 const startASymbol byte = 103
const startBSymbol byte = 104 const startBSymbol byte = 104
const startCSymbol byte = 105 const startCSymbol byte = 105
const codeASymbol byte = 101
const codeBSymbol byte = 100 const codeBSymbol byte = 100
const codeCSymbol byte = 99 const codeCSymbol byte = 99
@ -130,4 +131,13 @@ const (
FNC4 = '\u00f4' FNC4 = '\u00f4'
) )
const bTable = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" const abTable = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
const bTable = abTable + "`abcdefghijklmnopqrstuvwxyz{|}~\u007F"
const aTable = abTable +
"\u0000\u0001\u0002\u0003\u0004" + // NUL, SOH, STX, ETX, EOT
"\u0005\u0006\u0007\u0008\u0009" + // ENQ, ACK, BEL, BS, HT
"\u000A\u000B\u000C\u000D\u000E" + // LF, VT, FF, CR, SO
"\u000F\u0010\u0011\u0012\u0013" + // SI, DLE, DC1, DC2, DC3
"\u0014\u0015\u0016\u0017\u0018" + // DC4, NAK, SYN, ETB, CAN
"\u0019\u001A\u001B\u001C\u001D" + // EM, SUB, ESC, FS, GS
"\u001E\u001F" // RS, US