Memory streams should be able to handle arbitrary bytes, yes. I forgot the use case you were going for!