Revision f9d6b13a libavformat/avio.h

View differences:

libavformat/avio.h
460 460
uint64_t get_le64(ByteIOContext *s);
461 461
unsigned int get_le16(ByteIOContext *s);
462 462

  
463
/**
464
 * Read a UTF-16 string from pb and convert it to UTF-8.
465
 * The reading will terminate when either a null or invalid character was
466
 * encountered or maxlen bytes have been read.
467
 * @return number of bytes read (is always <= maxlen)
468
 */
469
int avio_get_str16le(ByteIOContext *pb, int maxlen, char *buf, int buflen);
470
int avio_get_str16be(ByteIOContext *pb, int maxlen, char *buf, int buflen);
471

  
463 472
char *get_strz(ByteIOContext *s, char *buf, int maxlen);
464 473
unsigned int get_be16(ByteIOContext *s);
465 474
unsigned int get_be24(ByteIOContext *s);

Also available in: Unified diff