Use Marshal instead of byteslicing.