in src/main/java/com/amazonaws/lex/twilio/sample/streaming/AudioResponse.java [62:71]
public void write(byte[] byteArray) {
// Don't write into the stream if it is closed already.
if (this.closed) {
throw new UncheckedIOException(new IOException("Stream already closed when attempting to write into it."));
}
for (byte b : byteArray) {
this.byteQueue.add(b & UNSIGNED_BYTE_MASK);
}
}