// parseRecord gets a raw record and returns his normalized string representation.
parseRecord gets a raw record and returns his normalized string representation.
// parseRecord gets a raw record and returns his normalized string representation .
func (r *Reader) parseRecord(rawValue [][]byte) string {
    var value bytes.Buffer
    for pos := 0; pos < r.DigitsPerRecord * r.ColumnsPerDigit; pos += r.ColumnsPerDigit {
        digit := r.parseDigit(rawValue, pos)
        value.WriteRune(digit)
    }
    return value.String()
}
func ( r * Reader ) parseRecord ( rawValue [ ] [ ] byte ) string { var value bytes . Buffer for pos := 0 ; pos < r . DigitsPerRecord * r . ColumnsPerDigit ; pos += r . ColumnsPerDigit { digit := r . parseDigit ( rawValue , pos ) value . WriteRune ( digit ) } return value . String ( ) }
parseRecord gets a raw record and returns his normalized string representation.
parseRecord gets a raw record and returns his normalized string representation .
// using bytes.Buffer instead of concatenation for better performance.