summary refs log tree commit diff
path: root/crypto/src/bcpg/MarkerPacket.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/bcpg/MarkerPacket.cs')
-rw-r--r--crypto/src/bcpg/MarkerPacket.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/crypto/src/bcpg/MarkerPacket.cs b/crypto/src/bcpg/MarkerPacket.cs
index 4dc4b5a83..f2c450793 100644
--- a/crypto/src/bcpg/MarkerPacket.cs
+++ b/crypto/src/bcpg/MarkerPacket.cs
@@ -7,18 +7,16 @@ namespace Org.BouncyCastle.Bcpg
         : ContainedPacket
     {
         // "PGP"
-        byte[] marker = { (byte)0x50, (byte)0x47, (byte)0x50 };
+        private readonly byte[] marker = { (byte)0x50, (byte)0x47, (byte)0x50 };
 
-        public MarkerPacket(
-            BcpgInputStream bcpgIn)
+        public MarkerPacket(BcpgInputStream bcpgIn)
         {
             bcpgIn.ReadFully(marker);
         }
 
-        public override void Encode(
-            BcpgOutputStream bcpgOut)
+        public override void Encode(BcpgOutputStream bcpgOut)
         {
-            bcpgOut.WritePacket(PacketTag.Marker, marker, true);
+            bcpgOut.WritePacket(PacketTag.Marker, marker);
         }
     }
 }