rem: status_t GetBitmap(BPositionIO *in, BBitmap **out) {
add: GetBitmap(BPositionIO *in, BBitmap **out) {
context: status_t GetBitmap(BPositionIO *in, BBitmap **out) {	TranslatorBitmap header;		status_t err = in->Read(&header, sizeof(header));	if (err != sizeof(header)) return B_IO_ERROR;		header.magic = B_BENDIAN_TO_HOST_INT32(header.magic);	header.bounds.left = B_BENDIAN_TO_HOST_FLOAT(header.bounds.left);	header.bounds.top = B_BENDIAN_TO_HOST_FLOAT(header.bounds.top);	header.bounds.right = B_BENDIAN_TO_HOST_FLOAT(header.bounds.right);	header.bounds.bottom = B_BENDIAN_TO_HOST_FLOAT(header.bounds.bottom);	header.rowBytes = B_BENDIAN_TO_HOST_INT32(header.rowBytes);	header.colors = (color_space)B_BENDIAN_TO_HOST_INT32(header.colors);	header.dataSize = B_BENDIAN_TO_HOST_INT32(header.dataSize);		BBitmap *bitmap = new BBitmap(header.bounds, header.colors);	*out = bitmap;	if (bitmap == NULL) return B_NO_MEMORY;	unsigned char *bits = (unsigned char *)bitmap->Bits();	if (bits == NULL) {		delete bitmap;		return B_NO_MEMORY;	}	err = in->Read(bits, header.dataSize);	if (err == (status_t)header.dataSize) return B_OK;	else return B_IO_ERROR;}	