Use Uint8Arrays instead of Buffer