int mm_io_c::write_uint16_be(uint16_t value) { uint16_t buffer; put_uint16_be(&buffer, value); return write(&buffer, sizeof(uint16_t)); }
ac3_compressor_c::ac3_compressor_c() { memory_cptr bytes = memory_c::alloc(2); put_uint16_be(bytes->get_buffer(), AC3_SYNC_WORD); set_bytes(bytes); }