need bytestring on result of ccall