Don't forget to return a default encoded blob.

This commit is contained in:
Mike Auty
2019-08-27 21:09:13 +01:00
committed by ikelos
parent a5f0c7f1b9
commit 387024fe96
@@ -364,6 +364,7 @@ class TranslationLayerInterface(DataLayerInterface, metaclass = ABCMeta):
def _encode(self, data: bytes, mapped_offset: int, offset: int) -> bytes:
"""Encodes any necessary data"""
return data
# ## Read/Write functions for mapped pages