Commit Graph

9 Commits

Author SHA1 Message Date
Donovan Jimenez
a84994e6e9 Rework Reader and Writer
* add tests that cover same behaviors as Convert and ConvertString
 * align read and write behaviors with bufio to play nice
 * add methods that allow to customize buffer size
 * add methods to reset, allowing reuse
2017-04-29 23:19:49 -04:00
pkowalczyk
072063d01b Fixes #23 using call_iconv wrapper 2016-03-05 19:56:42 +01:00
Donovan Jimenez
c6169bab90 running gofmt on sources, and removing iconv LDFLAG on linux 2013-06-27 16:56:58 -04:00
haonan3344
9972d7fa01 In windows cannot "go get ...",for "undefined reference to libiconv"
please  patch it so as to support more os
2012-06-23 09:33:59 +08:00
Donovan Jimenez
d8ca80955a go1 updates: standard errors now in syscall package, no more makefile support 2012-04-10 18:30:42 -04:00
Donovan Jimenez
5ea739d3eb Improving documentation and including shift reset logic 2011-01-29 01:31:00 -05:00
Donovan Jimenez
20aa6d93c3 Make sure we free our data made by C.CString. Also, updated cgo comments to multiline - seems to be preferred style 2011-01-16 14:40:30 -05:00
Donovan Jimenez
690531c87e * Added README.md
* moved sample programs to examples directory
 * cleaned up make make file
 * converter.go: ConvertString now uses Convert under the hood, removes some code duplication
 * reader.go: No need to have two separate buffers, can write directly in to buffer given in Read call. Simplifies code greatly
2011-01-15 04:06:50 -05:00
Donovan Jimenez
82db0fae9a Initial iconv go package, supports:
* string conversion
 * byte slice conversion
 * Reader conversion
2011-01-14 18:34:30 -05:00