public override bool TryGetBase64ContentLength (out int length) { length = 0; switch (current.ValueType) { case BF.Bytes8: case BF.Bytes16: case BF.Bytes32: length = ((byte []) current.TypedValue).Length; return true; } return false; }