diff --git a/Salar.Bois/BoisSerializer.cs b/Salar.Bois/BoisSerializer.cs index 0b1997b..861feaa 100644 --- a/Salar.Bois/BoisSerializer.cs +++ b/Salar.Bois/BoisSerializer.cs @@ -104,7 +104,7 @@ public void Serialize(T obj, Stream output) /// The object to be serialized. /// The object type. /// The output of the serialization in binary. - internal void Serialize(object obj, Type type, Stream output) + public void Serialize(object obj, Type type, Stream output) { if (obj == null) throw new ArgumentNullException(nameof(obj), "Object cannot be null."); @@ -160,7 +160,7 @@ public T Deserialize(Stream objectData) /// The binary data. /// The object type. /// New instance of the deserialized data. - internal object Deserialize(Stream objectData, Type type) + public object Deserialize(Stream objectData, Type type) { var reader = new BinaryReader(objectData, Encoding);