Use Buffer.contents instead of Buffer.to_bytes and set buff size to 17.