Code example for ObjectOutputStream

Methods: writeByte

0
/*     */   } 
/*     */  
/*     */   private void writeObject(ObjectOutputStream paramObjectOutputStream)
/*     */     throws IOException 
/*     */   { 
/* 124 */     paramObjectOutputStream.writeByte(this.precision);
/*     */   } 
/*     */  
/*     */   protected Object toObject(byte[] paramArrayOfByte, int paramInt, Map paramMap)
/*     */     throws SQLException 
/*     */   { 
/* 130 */     if ((paramArrayOfByte == null) || (paramArrayOfByte.length == 0)) {
/* 131 */       return null; 
/*     */     } 
/* 133 */     switch (paramInt)
/*     */     { 
/*     */     case 1: 
/* 137 */       return new TIMESTAMPLTZ(paramArrayOfByte);
/*     */     case 2: 
/* 140 */       return TIMESTAMPLTZ.toTimestamp(this.connection, paramArrayOfByte);
/*     */     case 3: