diff --git a/src/main/java/org/spout/nbt/stream/NBTOutputStream.java b/src/main/java/org/spout/nbt/stream/NBTOutputStream.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/spout/nbt/stream/NBTOutputStream.java
+++ b/src/main/java/org/spout/nbt/stream/NBTOutputStream.java
@@ -352,4 +352,11 @@ public final class NBTOutputStream implements Closeable {
 	public ByteOrder getEndianness() {
 		return os.getEndianness();
 	}
+	
+	/**
+	 * Flushes the stream
+	 */
+	public void flush() throws IOException {
+		os.flush();
+	}
 }
Added flush to NBTOutputStream