ass_read_memory method

Pointer<ASS_Track> ass_read_memory(
  1. Pointer<ASS_Library> library1,
  2. Pointer<Char> buf,
  3. int bufsize,
  4. Pointer<Char> codepage,
)

\brief Read subtitles from memory. \param library library handle \param buf pointer to subtitles text \param bufsize size of buffer \param codepage encoding (iconv format) \return newly allocated track or NULL on failure

Implementation

ffi.Pointer<ASS_Track> ass_read_memory(
  ffi.Pointer<ASS_Library> library1,
  ffi.Pointer<ffi.Char> buf,
  int bufsize,
  ffi.Pointer<ffi.Char> codepage,
) {
  return _ass_read_memory(
    library1,
    buf,
    bufsize,
    codepage,
  );
}